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
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;
12 case HOSTAP_INTERFACE_MASTER:
13 - dev->tx_queue_len = 0; /* use main radio device queue */
14 dev->netdev_ops = &hostap_master_ops;
17 + dev->tx_queue_len = 0; /* use main radio device queue */
18 dev->netdev_ops = &hostap_netdev_ops;