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

Commit f29b6320 authored by Bojun Pan's avatar Bojun Pan
Browse files

msm: ipa: fix the unlock issue for rmnet_ctl module

Fix the double unlock issue on rmnet_ctl_wakeup_ipa.

Change-Id: I3f559a7296463fee446da5b8f0174ccae91ba43a
parent d5c81c52
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -527,8 +527,6 @@ static void rmnet_ctl_wakeup_ipa(struct work_struct *work)
				rmnet_ctl_ipa3_ctx->stats.tx_pkt_dropped++;
				rmnet_ctl_ipa3_ctx->stats.tx_byte_dropped +=
					skb->len;
				spin_unlock_irqrestore(&rmnet_ctl_ipa3_ctx->tx_lock,
					flags);
				kfree_skb(skb);
				continue;
			}
@@ -543,8 +541,8 @@ static void rmnet_ctl_wakeup_ipa(struct work_struct *work)
		rmnet_ctl_ipa3_ctx->stats.tx_pkt_sent++;
		rmnet_ctl_ipa3_ctx->stats.tx_byte_sent +=
			skb->len;
		spin_unlock_irqrestore(&rmnet_ctl_ipa3_ctx->tx_lock, flags);
	}
	spin_unlock_irqrestore(&rmnet_ctl_ipa3_ctx->tx_lock, flags);
	goto out;

delayed_work: