Merge "usb: gadget: u_ether: Add missing rx work initialization"
This commit is contained in:
commit
d2f9d1e0e5
1 changed files with 1 additions and 0 deletions
|
@ -1014,6 +1014,7 @@ struct net_device *gether_setup_name_default(const char *netname)
|
|||
spin_lock_init(&dev->lock);
|
||||
spin_lock_init(&dev->req_lock);
|
||||
INIT_WORK(&dev->work, eth_work);
|
||||
INIT_WORK(&dev->rx_work, process_rx_w);
|
||||
INIT_LIST_HEAD(&dev->tx_reqs);
|
||||
INIT_LIST_HEAD(&dev->rx_reqs);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue