Return-Path: Date: Thu, 15 Dec 2011 14:08:51 +0200 From: Johan Hedberg To: Hemant Gupta Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCHv2] mgmt: Add support for Passkey handling Message-ID: <20111215120851.GA10113@x220> References: <1323950056-28708-1-git-send-email-hemant.gupta@stericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1323950056-28708-1-git-send-email-hemant.gupta@stericsson.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Hemant, On Thu, Dec 15, 2011, Hemant Gupta wrote: > @@ -218,7 +218,7 @@ struct mgmt_rp_user_confirm_reply { > #define MGMT_OP_USER_PASSKEY_REPLY 0x001C > struct mgmt_cp_user_passkey_reply { > bdaddr_t bdaddr; > - uint32_t passkey; > + __le32 passkey; > } __packed; Otherwise the patch looks ok but this change shouldn't be in it. __le32 is only for the kernel side. Johan