summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorMartin Decky <martin@decky.cz>2009-09-10 03:44:47 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-01-06 14:26:38 -0800
commitcebb2ee677ef2016331f14e937811976a95003b3 (patch)
tree94de83c4be576fbc1c1e95c945412532d613ba7d /lib/string_helpers.c
parent1bfc1db036675e61af0ea34d3ac18206de566b64 (diff)
hostap: Revert a toxic part of the conversion to net_device_ops
commit e484c16f6212f7f06407382efa4d3ad214b6c589 upstream. As the hostap driver was converted to use net_device_ops, a mistake was made in hostap_main.c (commit 5ae4efbcd2611562a8b93596be034e63495706a5). 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions