OpenCloudOS-Kernel/drivers/net/wireless/p54
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 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
Makefile p54: Modify p54 files for new organization 2009-07-10 15:02:24 -04:00
eeprom.c p54: enhance rssi->dBm database import 2011-02-14 15:52:10 -05:00
eeprom.h p54: enhance rssi->dBm database import 2011-02-14 15:52:10 -05:00
fwio.c p54: implement set_coverage_class 2011-02-25 15:32:33 -05:00
led.c drivers/net/wireless: Restore upper case words in wiphy_<level> messages 2010-08-18 16:37:44 -04:00
lmac.h mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
main.c mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
net2280.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
p54.h p54: implement set_coverage_class 2011-02-25 15:32:33 -05:00
p54pci.c drivers/net/wireless: Restore upper case words in wiphy_<level> messages 2010-08-18 16:37:44 -04:00
p54pci.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
p54spi.c p54spi: Add error message for eeprom failure 2010-09-07 13:54:34 -04:00
p54spi.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
p54spi_eeprom.h p54spi: update sample eeprom 2011-02-14 15:52:10 -05:00
p54usb.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-17 12:27:22 -08:00
p54usb.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
txrx.c mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00