mac80211: check ERP info IE length in parser
authorJohannes Berg <johannes.berg@intel.com>
Wed, 27 Mar 2013 13:31:53 +0000 (14:31 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 07:16:57 +0000 (09:16 +0200)
commit1946bed95707ef75d85e94ebe106ce7a119ca831
treea0be226b4fed65ac75344222e70c2cdddb5b0888
parent1cd8e88e17729f57a9c7f751103e522596bb5de2
mac80211: check ERP info IE length in parser

It's always just one byte, so check for that and
remove the length field from the parser struct.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/scan.c
net/mac80211/util.c