mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
monitor: change naming of Microsoft OUI
Inside print_ie_vendor, the Microsoft OUI is checked for a WPA IE. The variable name for the OUI was wfa_oui, but this OUI is not actually the WiFi-Alliance (sometimes refered to as 'wfa') but rather the Microsoft OUI.
This commit is contained in:
parent
edd4f2b2a2
commit
b9d97c9d87
@ -884,7 +884,7 @@ end:
|
||||
static void print_ie_vendor(unsigned int level, const char *label,
|
||||
const void *data, uint16_t size)
|
||||
{
|
||||
static const unsigned char wfa_oui[3] = { 0x00, 0x50, 0xf2 };
|
||||
static const unsigned char msoft_oui[3] = { 0x00, 0x50, 0xf2 };
|
||||
const uint8_t *oui = data;
|
||||
const char *str = NULL;
|
||||
unsigned int i;
|
||||
@ -915,9 +915,9 @@ static void print_ie_vendor(unsigned int level, const char *label,
|
||||
data += 4;
|
||||
size -= 4;
|
||||
|
||||
if (!memcmp(oui, wfa_oui, 3)) {
|
||||
if (!memcmp(oui, msoft_oui, 3)) {
|
||||
switch (oui[3]) {
|
||||
case 1: /* WFA WPA IE */
|
||||
case 1: /* MSoft WPA IE */
|
||||
print_ie_wpa(level + 2, label, data, size);
|
||||
return;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user