]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rt2x00: Always call ieee80211_stop_queue() when return NETDEV_TX_BUSY
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 6 Jan 2008 22:38:34 +0000 (23:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:09:22 +0000 (15:09 -0800)
commit1230cb83f46731ca4eaa57c480788ed3c9d05935
tree60be0e3211fafdd2d3afba7aa6527badb2e29790
parent3e34c6dcb36bbd5294cae2654c32e24b9787da3a
rt2x00: Always call ieee80211_stop_queue() when return NETDEV_TX_BUSY

Apparently it was possible that ieee80211_stop_queue() was not full while
NETDEV_TX_BUSY was being reported back. I think that is what causing the WARN_ON().
This moves all calls to ieee80211_stop_queue() in rt2x00mac.c where it is easier
to determine if the queue should be halted.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00mac.c
drivers/net/wireless/rt2x00/rt2x00pci.c
drivers/net/wireless/rt2x00/rt2x00usb.c