aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_common
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-06-17 21:45:48 (GMT)
committerJouni Malinen <j@w1.fi>2014-06-17 21:45:48 (GMT)
commit35cbadbb14b3c60b737f85940468ad6cfe0f05ad (patch)
treebb7a2fc4a012ffe4dcf633c0b389eefba49e4ec0 /src/eap_common
parente0534ecf90c99c624cfa4454c3873b77f0afe137 (diff)
downloadhostap-35cbadbb14b3c60b737f85940468ad6cfe0f05ad.zip
hostap-35cbadbb14b3c60b737f85940468ad6cfe0f05ad.tar.gz
hostap-35cbadbb14b3c60b737f85940468ad6cfe0f05ad.tar.bz2
VHT: Remove useless validation code from Operating Mode Notification
This was added by commit 8a45811638d3d5c913175c4b8fc17a9bff0178e1 ('hostapd: Add Operating Mode Notification support'), but the validation steps cannot be true either for the channel width (which is a two-bit subfield that cannot encode more than the list four values) or Rx NSS (which cannot encode a value larger 7). Furthermore, the VHT_CHANWIDTH_* defines do not match the definition of the Channel Width subfield values. Since this check cannot ever match, it is better to remove it to make the code easier to understand and to avoid getting complaints about dead code from static analyzers. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eap_common')
0 files changed, 0 insertions, 0 deletions