mac80211: properly validate/translate IW_AUTH_MFP values
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 10 Feb 2009 20:25:40 +0000 (21:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Feb 2009 18:45:24 +0000 (13:45 -0500)
commite4e5e2b0b83c816e581ca4671569306bcba77667
tree5593639864683f2f937f9f9639d3e5181daeb92f
parenta4727801004f255f589478b2d75ec00f0a9e30c5
mac80211: properly validate/translate IW_AUTH_MFP values

Make sure nobody passes in bogus values, and translate the values
(although it isn't necessary).

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wext.c