1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 23:45:20 +02:00
openwrt-xburst/target/linux/generic-2.6/patches-2.6.30/910-hostap_tx_queue_len_fix.patch
juhosg 304738ed8a hostap: move patches to the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:43:25 +00:00

21 lines
656 B
Diff

--- a/drivers/net/wireless/hostap/hostap_main.c
+++ b/drivers/net/wireless/hostap/hostap_main.c
@@ -875,15 +875,16 @@ void hostap_setup_dev(struct net_device
switch(type) {
case HOSTAP_INTERFACE_AP:
+ dev->tx_queue_len = 0; /* use main radio device queue */
dev->netdev_ops = &hostap_mgmt_netdev_ops;
dev->type = ARPHRD_IEEE80211;
dev->header_ops = &hostap_80211_ops;
break;
case HOSTAP_INTERFACE_MASTER:
- dev->tx_queue_len = 0; /* use main radio device queue */
dev->netdev_ops = &hostap_master_ops;
break;
default:
+ dev->tx_queue_len = 0; /* use main radio device queue */
dev->netdev_ops = &hostap_netdev_ops;
}