staging: wilc1000: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <phil@nwl.cc> Cc: Johnny Kim <johnny.kim@atmel.com> Cc: Rachel Kim <rachel.kim@atmel.com> Cc: Dean Lee <dean.lee@atmel.com> Cc: Chris Park <chris.park@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4676a15207
commit
7d9e437d56
|
@ -493,7 +493,7 @@ static void WILC_WFI_mon_setup(struct net_device *dev)
|
|||
/* dev->destructor = free_netdev; */
|
||||
PRINT_INFO(CORECONFIG_DBG, "In Ethernet setup function\n");
|
||||
ether_setup(dev);
|
||||
dev->tx_queue_len = 0;
|
||||
dev->priv_flags |= IFF_NO_QUEUE;
|
||||
dev->type = ARPHRD_IEEE80211_RADIOTAP;
|
||||
memset(dev->dev_addr, 0, ETH_ALEN);
|
||||
|
||||
|
|
Loading…
Reference in New Issue