mirror of https://github.com/hak5/openwrt-owl.git
hostap: Fix unset tx_queue_len regression (thanks to Acinonyx)
SVN-Revision: 18944owl
parent
761e67f9ff
commit
811dbae6e8
|
@ -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;
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue