Skip to content

Commit 7d9e437

Browse files
Phil Sutterdavem330
authored andcommitted
staging: wilc1000: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <[email protected]> Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4676a15 commit 7d9e437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/wilc1000/linux_mon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ static void WILC_WFI_mon_setup(struct net_device *dev)
493493
/* dev->destructor = free_netdev; */
494494
PRINT_INFO(CORECONFIG_DBG, "In Ethernet setup function\n");
495495
ether_setup(dev);
496-
dev->tx_queue_len = 0;
496+
dev->priv_flags |= IFF_NO_QUEUE;
497497
dev->type = ARPHRD_IEEE80211_RADIOTAP;
498498
memset(dev->dev_addr, 0, ETH_ALEN);
499499

0 commit comments

Comments
 (0)