Skip to content

Commit 3a9c0a1

Browse files
Phil Sutterdavem330
authored andcommitted
net: hostap: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <[email protected]> Cc: Jouni Malinen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0a5f107 commit 3a9c0a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/wireless/hostap/hostap_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ void hostap_setup_dev(struct net_device *dev, local_info_t *local,
865865

866866
switch(type) {
867867
case HOSTAP_INTERFACE_AP:
868-
dev->tx_queue_len = 0; /* use main radio device queue */
868+
dev->priv_flags |= IFF_NO_QUEUE; /* use main radio device queue */
869869
dev->netdev_ops = &hostap_mgmt_netdev_ops;
870870
dev->type = ARPHRD_IEEE80211;
871871
dev->header_ops = &hostap_80211_ops;
@@ -874,7 +874,7 @@ void hostap_setup_dev(struct net_device *dev, local_info_t *local,
874874
dev->netdev_ops = &hostap_master_ops;
875875
break;
876876
default:
877-
dev->tx_queue_len = 0; /* use main radio device queue */
877+
dev->priv_flags |= IFF_NO_QUEUE; /* use main radio device queue */
878878
dev->netdev_ops = &hostap_netdev_ops;
879879
}
880880

0 commit comments

Comments
 (0)