Use P2P_IE_VENDOR_TYPE more consistently
authorRahul Jain <rahul.jain@samsung.com>
Wed, 26 Feb 2014 06:18:07 +0000 (11:48 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 5 Mar 2014 21:36:54 +0000 (23:36 +0200)
commit8bc4372f37921d88bb0e65fae80577bcbb2c8067
tree92de8798fa34626b98659bbd78ef55fb9c5aebbe
parent8714caa1c25fa90a5153d9bcc996f778d13affa0
Use P2P_IE_VENDOR_TYPE more consistently

Previously, both this and combination of OUI_WFA and P2P_OUI_TYPE were
used. Using the full 32-bit value as a single operation saves a bit in
code size, so start moving towards using it more consistently when
writing or finding the P2P vendor specific element.

Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
src/ap/ctrl_iface_ap.c
src/ap/p2p_hostapd.c
src/p2p/p2p.c
src/p2p/p2p_build.c
src/p2p/p2p_sd.c