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

Commit a8b61326 authored by Yue Ma's avatar Yue Ma
Browse files

cnss2: Fix a bug in driver event work handler



A spinlock acquisition is missing in driver event work handler.
Add it in order to avoid releasing the event spinlock without
acquiring.

Change-Id: Icabb38129ca4f6ddf48b8bafe8a5bce9f569a5fe
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 6ef3f2a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1485,6 +1485,7 @@ static void cnss_driver_event_work(struct work_struct *work)
			cnss_pr_err("Invalid driver event type: %d",
				    event->type);
			kfree(event);
			spin_lock_irqsave(&plat_priv->event_lock, flags);
			continue;
		}