From: Martin Decky Date: Thu, 10 Sep 2009 01:44:47 +0000 (+0200) Subject: hostap: Revert a toxic part of the conversion to net_device_ops X-Git-Tag: v2.6.32-rc1~27^2~11^2~51 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05f57195ab5a232afd773328f00784e79c60e64e;p=pandora-kernel.git 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 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed