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

Commit 7d97a47c authored by Bojun Pan's avatar Bojun Pan
Browse files

msm: ipa4: fix the rmnet_ctl tx spin_lock init issue



Add the spin_lock init for rmnet_ctl tx lock.

Change-Id: Ic9837d0ddad493dbeb9fc2566a9756b33811c40a
Signed-off-by: default avatarBojun Pan <bojunp@codeaurora.org>
parent e5127624
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -104,6 +104,7 @@ int ipa3_rmnet_ctl_init(void)
	skb_queue_head_init(&rmnet_ctl_ipa3_ctx->tx_queue);
	rmnet_ctl_ipa3_ctx->state = IPA_RMNET_CTL_NOT_REG;
	mutex_init(&rmnet_ctl_ipa3_ctx->lock);
	spin_lock_init(&rmnet_ctl_ipa3_ctx->tx_lock);
	return 0;
}