[PATCH] Use P2P_IE_VENDOR_TYPE instead of combination of OUI_WFA and P2P_OUI_TYPE
j at w1.fi
Wed Feb 26 06:13:56 EST 2014
On Wed, Feb 26, 2014 at 06:22:23AM +0000, Rahul Jain wrote:
> I have modified all files under hostap.git which ever is using OUI_WFA and P2P_OUI_TYPE combination with P2P_IE_VENDOR_TYPE.
> I am not able to modify ieee802_11_common.c file as ieee802_11_parse_vendor_specific() will require lot of changes.
> Patch for review
> @@ -250,9 +250,8 @@ static int p2p_manager_disconnect(struct hostapd_data *hapd, u16 stype,
> - WPA_PUT_BE24(pos, OUI_WFA);
> - pos += 3;
> - *pos++ = P2P_OUI_TYPE;
> + WPA_PUT_BE32(pos, P2P_IE_VENDOR_TYPE);
> + pos += 4;
This is whitespace damaged (tabs converted to a single space). Could
please send a version that could be applied cleanly? If needed, include
a copy of the patch as an attachment, but in general, using a mailer
that is able to sends whitespace cleanly would be most convenient.
Jouni Malinen PGP id EFC895FA
More information about the HostAP