aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Poulain <[email protected]>2018-04-05 13:51:49 +0200
committerKalle Valo <[email protected]>2018-04-10 17:38:55 +0300
commit1391cce7daf65dce586aba78df13b0cc4e737416 (patch)
treed477aa97e6d6b10dd4d8f398bad1b79d1e1186eb
parent2edfcf2b303cdd63fe0176c6771b47af2d655f8e (diff)
wcn36xx: Add missing fall through comment in smd.c
This prevents GCC warning. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Loic Poulain <[email protected]> Acked-by: Bjorn Andersson <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
-rw-r--r--drivers/net/wireless/ath/wcn36xx/smd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c
index 5be07e40a86d..9827a1e1124b 100644
--- a/drivers/net/wireless/ath/wcn36xx/smd.c
+++ b/drivers/net/wireless/ath/wcn36xx/smd.c
@@ -2143,6 +2143,7 @@ static int wcn36xx_smd_hw_scan_ind(struct wcn36xx *wcn, void *buf, size_t len)
switch (rsp->type) {
case WCN36XX_HAL_SCAN_IND_FAILED:
scan_info.aborted = true;
+ /* fall through */
case WCN36XX_HAL_SCAN_IND_COMPLETED:
mutex_lock(&wcn->scan_lock);
wcn->scan_req = NULL;