generic: rtl8366: move common debugfs code to rtl8366_smi.c
[openwrt.git] / target / linux / generic / patches-2.6.30 / 910-hostap_tx_queue_len_fix.patch
1 --- a/drivers/net/wireless/hostap/hostap_main.c
2 +++ b/drivers/net/wireless/hostap/hostap_main.c
3 @@ -875,15 +875,16 @@ void hostap_setup_dev(struct net_device
4
5 switch(type) {
6 case HOSTAP_INTERFACE_AP:
7 + dev->tx_queue_len = 0; /* use main radio device queue */
8 dev->netdev_ops = &hostap_mgmt_netdev_ops;
9 dev->type = ARPHRD_IEEE80211;
10 dev->header_ops = &hostap_80211_ops;
11 break;
12 case HOSTAP_INTERFACE_MASTER:
13 - dev->tx_queue_len = 0; /* use main radio device queue */
14 dev->netdev_ops = &hostap_master_ops;
15 break;
16 default:
17 + dev->tx_queue_len = 0; /* use main radio device queue */
18 dev->netdev_ops = &hostap_netdev_ops;
19 }
20
This page took 0.04386 seconds and 5 git commands to generate.