mac80211: fix mgmt frame accounting
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Jun 2010 08:21:51 +0000 (10:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:39:28 +0000 (15:39 -0400)
commit8b58ff832df9222e1fb3c58ae7f745f95569b55e
tree0283d0ee403eb19a4b411fc3803763619c5d6dfc
parent73a72a81d27b71f9ace31668d2dd7f3ac1c8228e
mac80211: fix mgmt frame accounting

The recent change to processing action frames from
the management frame queue had already broken action
frame accounting, and my rework didn't help either.
So add back accounting and simplify the code with a
label rather than duplicating it, and also add
accounting for management frames.

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