Commit f6eaf1e0 authored by John W. Linville's avatar John W. Linville Committed by Kalle Valo

ath10k: document switch case fall-through in __ath10k_scan_finish

Add a comment for indicating that the ATH10K_SCAN_RUNNING case falls
through to the ATH10K_SCAN_ABORTING case in __ath10k_scan_finish.  This
will document that the lack of a break is intentional.

Coverity: CID 1260017
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent a2fa8800
...@@ -2427,6 +2427,7 @@ void __ath10k_scan_finish(struct ath10k *ar) ...@@ -2427,6 +2427,7 @@ void __ath10k_scan_finish(struct ath10k *ar)
case ATH10K_SCAN_RUNNING: case ATH10K_SCAN_RUNNING:
if (ar->scan.is_roc) if (ar->scan.is_roc)
ieee80211_remain_on_channel_expired(ar->hw); ieee80211_remain_on_channel_expired(ar->hw);
/* fall through */
case ATH10K_SCAN_ABORTING: case ATH10K_SCAN_ABORTING:
if (!ar->scan.is_roc) if (!ar->scan.is_roc)
ieee80211_scan_completed(ar->hw, ieee80211_scan_completed(ar->hw,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment