WSL2-Linux-Kernel/drivers/net/wireless/hostap
Martin Decky e484c16f62 hostap: Revert a toxic part of the conversion to net_device_ops
As the hostap driver was converted to use net_device_ops, a mistake was
made in hostap_main.c (commit 5ae4efbcd2).
Originally, the tx_queue_len was set to 0 for every other interface than
HOSTAP_INTERFACE_MASTER, but the new fragment of code sets tx_queue_len to
0 only for HOSTAP_INTERFACE_MASTER. The opposite of the previous
behavior makes the driver to drop all packets in AP mode.

Change the way 0 is assigned to tx_queue_len according to the original
logic.

Signed-off-by: Martin Decky <martin@decky.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-09-14 14:36:03 -04:00
..
Kconfig trivial: Kconfig: .ko is normally not included in module names 2009-06-12 18:01:50 +02:00
Makefile
hostap.h
hostap_80211.h wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
hostap_80211_rx.c hostap: convert to internal net_device_stats 2009-03-21 22:55:34 -07:00
hostap_80211_tx.c wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
hostap_ap.c hostap: convert to internal net_device_stats 2009-03-21 22:55:34 -07:00
hostap_ap.h
hostap_common.h
hostap_config.h
hostap_cs.c hostap_cs: Enable shared interrupts 2009-07-24 15:05:19 -04:00
hostap_download.c
hostap_hw.c net: remove needless (now buggy) & from dev->dev_addr 2009-05-17 11:59:47 -07:00
hostap_info.c
hostap_ioctl.c
hostap_main.c hostap: Revert a toxic part of the conversion to net_device_ops 2009-09-14 14:36:03 -04:00
hostap_pci.c
hostap_plx.c wireless: remove some (bogus?) 'may be used uninitialized' warnings 2009-04-24 15:41:41 -04:00
hostap_proc.c
hostap_wlan.h hostap: convert to internal net_device_stats 2009-03-21 22:55:34 -07:00