From: Gabor Juhos Date: Sat, 26 Dec 2009 14:43:25 +0000 (+0000) Subject: hostap: move patches to the right place X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;ds=sidebyside;h=34ba3ff92ca6ee758f7c5b6cc80fe20f75968390;p=librecmc%2Flibrecmc.git hostap: move patches to the right place SVN-Revision: 18945 --- 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; + } + diff --git a/trunk/target/linux/generic-2.6/patches-2.6.30/910-hostap_tx_queue_len_fix.patch b/trunk/target/linux/generic-2.6/patches-2.6.30/910-hostap_tx_queue_len_fix.patch deleted file mode 100644 index b421662d9c..0000000000 --- a/trunk/target/linux/generic-2.6/patches-2.6.30/910-hostap_tx_queue_len_fix.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- 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/trunk/target/linux/generic-2.6/patches-2.6.31/910-hostap_tx_queue_len_fix.patch b/trunk/target/linux/generic-2.6/patches-2.6.31/910-hostap_tx_queue_len_fix.patch deleted file mode 100644 index b421662d9c..0000000000 --- a/trunk/target/linux/generic-2.6/patches-2.6.31/910-hostap_tx_queue_len_fix.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- 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; - } -