diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-12-26 14:43:25 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-12-26 14:43:25 +0000 |
commit | b47322421d06c8919326dbcf666f6f3e04135b86 (patch) | |
tree | c706168d3968006a8bf86f29c7f7c3a16e68ade2 /target | |
parent | b335e7015e4c0f6d479cf5bb0df607bd45ef50e5 (diff) | |
download | upstream-b47322421d06c8919326dbcf666f6f3e04135b86.tar.gz upstream-b47322421d06c8919326dbcf666f6f3e04135b86.tar.bz2 upstream-b47322421d06c8919326dbcf666f6f3e04135b86.zip |
hostap: move patches to the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18945 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.30/910-hostap_tx_queue_len_fix.patch | 20 | ||||
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.31/910-hostap_tx_queue_len_fix.patch | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.30/910-hostap_tx_queue_len_fix.patch b/target/linux/generic-2.6/patches-2.6.30/910-hostap_tx_queue_len_fix.patch new file mode 100644 index 0000000000..b421662d9c --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.30/910-hostap_tx_queue_len_fix.patch @@ -0,0 +1,20 @@ +--- 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; + } + diff --git a/target/linux/generic-2.6/patches-2.6.31/910-hostap_tx_queue_len_fix.patch b/target/linux/generic-2.6/patches-2.6.31/910-hostap_tx_queue_len_fix.patch new file mode 100644 index 0000000000..b421662d9c --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.31/910-hostap_tx_queue_len_fix.patch @@ -0,0 +1,20 @@ +--- 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; + } + |