mac80211: check power constraint IE size when parsing
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Sep 2012 11:07:00 +0000 (13:07 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 6 Sep 2012 15:11:00 +0000 (17:11 +0200)
commit761a48d2603c0ff48024bc70c129b00ec37639ed
treea445a44200d62a5304335dd31be3e3d9a44289f1
parentf8fffc7e51462f51ffca6d0df505ef16afee2fb6
mac80211: check power constraint IE size when parsing

The power constraint IE is always a single byte
so check the size when parsing instead of later.

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