diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-09-05 15:07:00 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-09-06 19:11:00 +0400 |
commit | 761a48d2603c0ff48024bc70c129b00ec37639ed (patch) | |
tree | a445a44200d62a5304335dd31be3e3d9a44289f1 /net/mac80211/ieee80211_i.h | |
parent | f8fffc7e51462f51ffca6d0df505ef16afee2fb6 (diff) | |
download | linux-761a48d2603c0ff48024bc70c129b00ec37639ed.tar.xz |
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index e2ab03c773e3..b95fa256d438 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1165,7 +1165,6 @@ struct ieee802_11_elems { u8 prep_len; u8 perr_len; u8 country_elem_len; - u8 pwr_constr_elem_len; u8 quiet_elem_len; u8 num_of_quiet_elem; /* can be more the one */ u8 timeout_int_len; |