Add the spin_lock init for rmnet_ctl tx lock. Change-Id: Ic9837d0ddad493dbeb9fc2566a9756b33811c40a Signed-off-by: Bojun Pan <[email protected]>
@@ -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;
}