Merge "usb: gadget: u_ether: Add missing rx work initialization"

This commit is contained in:
Linux Build Service Account 2016-09-10 06:39:04 -07:00 committed by Gerrit - the friendly Code Review server
commit d2f9d1e0e5

View file

@ -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);