Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9647c359 authored by Matthew Moeller's avatar Matthew Moeller Committed by Sivasri Kumar Vanka
Browse files

usb: u_ether: Add missing rx_work init

usb: u_ether: Add workqueue as bottom half handler for rx data path

set up a worker for the rx data path but missed a case where
the work_struct needed to be initialized.

This patch adds the missing 'INIT_WORK'.

Change-Id: I2daabd39d35b3e17a3054837282d649d9c78a0aa
Git-Commit: 5df322294fb5d6a1b5beac0549ef37426bdaa1fe
Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-4.9


Signed-off-by: default avatarMatthew Moeller <moeller.matt@gmail.com>
Signed-off-by: default avatarSivasri Kumar Vanka <sivasri@codeaurora.org>
parent 7775a710
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1222,6 +1222,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);