commit 6ee83fdca9cc61862a8ac691c11cfa4a5d1a3bf2 parent 580fd757c7d7f9e9bf4d8df7e10572b13d44570e Author: Andrew Zaborowski <andrew.zaborowski@intel.com> Date: Thu, 24 Oct 2019 06:29:59 +0200 p2putil: Replace constants with wifi_alliance_oui Diffstat:
| M | src/p2putil.c | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/p2putil.c b/src/p2putil.c @@ -2216,9 +2216,9 @@ static uint8_t *p2p_build_action_frame(bool public, uint8_t frame_subtype, } else ret[pos++] = 0x7f; /* Category: Vendor Specific */ - ret[pos++] = 0x50; /* OUI: Wi-Fi Alliance */ - ret[pos++] = 0x6f; - ret[pos++] = 0x9a; + ret[pos++] = wifi_alliance_oui[0]; + ret[pos++] = wifi_alliance_oui[1]; + ret[pos++] = wifi_alliance_oui[2]; ret[pos++] = 0x09; /* OUI type: Wi-Fi Alliance P2P v1.0 */ ret[pos++] = frame_subtype; ret[pos++] = dialog_token;