Re: [PATCHv2] mgmt: Add support for Passkey handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johan,

On Thu, Dec 15, 2011 at 7:39 PM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote:
> On Thu, Dec 15, 2011, Hemant Gupta wrote:
>> In my code, I am using htobl(passkey), while passkey is sent to kernel.
>> So you mean I need to change it to btohl ?
>
> No, you use htobl when encoding (writing to) a mgmt message and btohl
> when decoding (reading from) one.
Thanks a lot for clarification. Will send new patch in a moment.

>
> Johan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Best Regards
Hemant Gupta
ST-Ericsson India
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux