OpenCloudOS-Kernel/drivers/net/wireless/ath/carl9170
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 carl9170: angle brackets for wiki link 2010-09-28 15:47:56 -04:00
Makefile carl9170: Makefile, Kconfig files and MAINTAINERS 2010-09-14 16:03:42 -04:00
carl9170.h mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
cmd.c carl9170: Use static const 2010-11-22 15:58:45 -05:00
cmd.h carl9170: fix memory leak issue in async cmd macro wrappers 2010-10-25 14:43:14 -04:00
debug.c carl9170: remove lost-frame workaround 2010-09-28 15:47:56 -04:00
debug.h carl9170: firmware parser and debugfs code 2010-09-14 16:03:42 -04:00
eeprom.h
fw.c carl9170: utilize fw seq counter for mgmt/non-QoS data frames 2011-01-27 16:03:56 -05:00
fwcmd.h carl9170: update fw/hw headers 2011-01-27 16:03:53 -05:00
fwdesc.h carl9170: update fw/hw headers 2011-01-27 16:03:53 -05:00
hw.h carl9170: update fw/hw headers 2011-01-27 16:03:53 -05:00
led.c
mac.c carl9170: configurable beacon rates 2010-11-15 13:25:35 -05:00
main.c carl9170: utilize fw seq counter for mgmt/non-QoS data frames 2011-01-27 16:03:56 -05:00
phy.c carl9170: reduce channel change delay 2011-01-04 14:35:13 -05:00
phy.h carl9170: import hw/fw header updates 2010-11-15 13:25:29 -05:00
rx.c carl9170: fix typo in PS code 2011-02-04 16:11:39 -05:00
tx.c mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
usb.c carl9170: fix usb pm suspend->resume woes 2011-01-04 14:35:13 -05:00
version.h carl9170: update fw/hw headers 2011-01-27 16:03:53 -05:00
wlan.h carl9170: update fw/hw headers 2011-01-27 16:03:53 -05:00