Changeset 30672


Ignore:
Timestamp:
2012-02-21T19:19:26+01:00 (6 years ago)
Author:
jow
Message:

[package] iwinfo: fix logic flaw in WPA OUI filtering, solves misdetecting various WPA2-PSK only networks as mixed mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/iwinfo/src/iwinfo_wext_scan.c

    r29403 r30672  
    247247                        *        * So check that the OUI is valid. */ 
    248248                        if((ielen < 8) || ((memcmp(&iebuf[offset], wpa_oui, 3) != 0) 
    249                                 && (iebuf[offset+3] == 0x01))) 
     249                                || (iebuf[offset+3] != 0x01))) 
    250250                                        return; 
    251251 
Note: See TracChangeset for help on using the changeset viewer.