]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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>
Mon, 20 Dec 2010 18:48:04 +0000 (13:48 -0500)
commit9f333281a7da4c3a59bccc0cb53f7590eb850d93
tree516ce1c2abc5bf4662f484586654589bb23b63c8
parent56e6417b49132d4f56e9f2241d31942b90b46315
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.

https://bugzilla.kernel.org/show_bug.cgi?id=24892

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