[PATCH] P2P: Fix setting P2P Client Discoverability bit

Jouni Malinen j
Sat Jun 16 10:24:43 PDT 2012


On Wed, Jun 13, 2012 at 10:18:20PM +0900, Masashi Honma wrote:
> In the [1], the P2P Client Discoverability bit is described in "Table 12 Device
> Capability Bitmap definition". The table says "Within a P2P Group Info
> attribute and a (Re)association request frame the P2P Client Discoverability
> field shall be set to 1 when the P2P Device supports P2P Client Discoverability,
> and is set to 0 otherwise. This field shall be reserved and set to 0 in all
> other frames or uses.". So I made this patch to make it suitable for the spec.

Thanks! Applied. Though, this triggers a bug where device
discoverability cannot be used in some cases due to how this dev_capab
bit is learned. I fixed that with commit
f33bc035824a39017a25bedd7017a3ddf6bec866.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list