linux/drivers/net/wireless/b43legacy
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
Makefile
b43legacy.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
debugfs.c net/wireless: use generic_file_llseek in debugfs 2010-09-16 10:33:08 +02:00
debugfs.h
dma.c b43legacy: replace the ssb_dma API with the generic DMA API 2010-06-04 16:00:42 -04:00
dma.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
ilt.c
ilt.h
leds.c
leds.h
main.c mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
main.h
phy.c tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
phy.h
pio.c
pio.h
radio.c
radio.h
rfkill.c b43legacy: rfkill: use status register based on core revision (not PHY's) 2010-11-15 13:25:52 -05:00
rfkill.h
sysfs.c
sysfs.h
xmit.c mac80211: rename RX_FLAG_TSFT 2011-02-23 16:25:29 -05:00
xmit.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00