nl80211: Add more through validation of MLME command parameters
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 20 Mar 2009 19:21:17 +0000 (21:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:04 +0000 (20:13 -0400)
commit255e737eab645ec6037baeca04a5e0a7c3b1f459
treed178103256dcd352addf7e646b89e128e7be1cf9
parent65fc73ac4a310945dfeceac961726c2765ad2ec0
nl80211: Add more through validation of MLME command parameters

Check that the used authentication type and reason code are valid here
so that drivers/mac80211 do not need to care about this. In addition,
remove the unnecessary validation of SSID attribute length which is
taken care of by netlink policy.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c