commit b9d97c9d87c766dc79015302aedc7eab5471723e
parent edd4f2b2a2463d7b2e964e31e0a75049c4751fb7
Author: James Prestwood <james.prestwood@linux.intel.com>
Date: Wed, 5 Jun 2019 14:51:29 -0700
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.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/monitor/nlmon.c b/monitor/nlmon.c
@@ -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: