mac80211: fix action frame length checks
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 8 Sep 2008 13:41:59 +0000 (15:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:35 +0000 (15:53 -0400)
commit9c80d3dc272ec5ce44a7564e5392f950ad38357a
tree43b8e45567c790212581b117e9d06ae5f5fd975b
parent5bda617576e58c7213aef5ab90383f303727b5b1
mac80211: fix action frame length checks

The action frame length checks are one too small, there's not just
an action code as the comment makes you believe, there's a category
code too, and the category code is required in each action frame
(hence part of IEEE80211_MIN_ACTION_SIZE).

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