p2putil: Replace constants with wifi_alliance_oui

This commit is contained in:
Andrew Zaborowski 2019-10-24 06:29:59 +02:00 committed by Denis Kenzior
parent 580fd757c7
commit 6ee83fdca9
1 changed files with 3 additions and 3 deletions

View File

@ -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;