Unverified Commit ad4d90bc authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!9193 wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work

parents deffb643 cdd8930c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6483,6 +6483,7 @@ static void rtl8xxxu_stop(struct ieee80211_hw *hw)
	if (priv->usb_interrupts)
		rtl8xxxu_write32(priv, REG_USB_HIMR, 0);

	cancel_work_sync(&priv->c2hcmd_work);
	cancel_delayed_work_sync(&priv->ra_watchdog);

	rtl8xxxu_free_rx_resources(priv);