rt2x00: Pass BlockAck and BlackAckReq frames to mac80211 in monitor mode
authorHelmut Schaa <helmut.schaa@googlemail.com>
Thu, 24 Nov 2011 08:13:26 +0000 (09:13 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Nov 2011 19:43:55 +0000 (14:43 -0500)
commit4883993841638963fbae2f334899f29309466152
tree5aca85bd35a7fe0a190a8236744fe303a767b1d5
parentde2e56cea25c80f91a6c6699de40fb3fe8b2479d
rt2x00: Pass BlockAck and BlackAckReq frames to mac80211 in monitor mode

Previously BlockAcks were always dropped by the rt2800 hardware while
BlockAckReqs were always accepted. However, both are only useful on
monitor interfaces at the moment and both are control frames. So
pass them up when mac80211 sets FIF_CONTROL.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c