mac80211/rt2x00: add ieee80211_tx_status_ni()
authorJohannes Stezenbach <js@sig21.net>
Tue, 30 Nov 2010 15:49:23 +0000 (16:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Nov 2010 18:53:46 +0000 (13:53 -0500)
commit20ed3166c84d145589a89d8cde12aa32cf2d17f4
treec6fa2fb5ce7ce1bd06f8787809c534b793813f28
parent4352fab5c2a1a602447d711c84d149bf2f0bc7ba
mac80211/rt2x00: add ieee80211_tx_status_ni()

All rt2x00 drivers except rt2800pci call ieee80211_tx_status() from
a workqueue, which causes "NOHZ: local_softirq_pending 08" messages.

To fix it, add ieee80211_tx_status_ni() similar to ieee80211_rx_ni()
which can be called from process context, and call it from
rt2x00lib_txdone().  For the rt2800pci special case a driver
flag is introduced.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800pci.c
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00dev.c
include/net/mac80211.h