OpenCloudOS-Kernel/drivers/net/wireless/ath/ar9170
Johannes Berg 7bb4568372 mac80211: make tx() operation return void
The return value of the tx operation is commonly
misused by drivers, leading to errors. All drivers
will drop frames if they fail to TX the frame, and
they must also properly manage the queues (if they
didn't, mac80211 would already warn).

Removing the ability for drivers to return a BUSY
value also allows significant cleanups of the TX
TX handling code in mac80211.

Note that this also fixes a bug in ath9k_htc, the
old "return -1" there was wrong.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Tested-by: Sedat Dilek <sedat.dilek@googlemail.com> [ath5k]
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> [rt2x00]
Acked-by: Larry Finger <Larry.Finger@lwfinger.net> [b43, rtl8187, rtlwifi]
Acked-by: Luciano Coelho <coelho@ti.com> [wl12xx]
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-02-25 15:32:34 -05:00
..
Kconfig ar9170usb: mark the old driver as obsolete 2011-02-21 15:39:56 -05:00
Makefile
ar9170.h mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
cmd.c ar9170: Use const 2010-11-22 15:58:42 -05:00
cmd.h ath: fix coding style/readability in ath/ar9170 2010-04-06 16:55:07 -04:00
eeprom.h ath: fix coding style/readability in ath/ar9170 2010-04-06 16:55:07 -04:00
hw.h ar9170usb: fix panic triggered by undersized rxstream buffer 2010-03-31 14:50:51 -04:00
led.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
mac.c ar9170: fix AC_VIDEO txop parameter 2009-12-21 18:39:05 -05:00
main.c mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
phy.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
usb.c wireless: Remove unnecessary casts of usb_get_intfdata 2010-12-02 15:16:47 -05:00
usb.h ar9170: wait for asynchronous firmware loading 2010-05-07 14:26:38 -04:00