wcn36xx: Silence error about unsupported smd event 188
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 7 Jul 2016 14:48:53 +0000 (07:48 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 8 Jul 2016 14:04:40 +0000 (17:04 +0300)
Sometimes the firmware sends a HAL_DEL_BA_IND, the prima driver silently
ignore this message so let's do the same to silence the error message.

Cc: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wcn36xx/smd.c

index feebaae1c8672b653437cdbba7140b1ad0a05c1f..a443992320f2ed3aa2152b93d2d8ecb1819ec2fb 100644 (file)
@@ -2229,6 +2229,7 @@ static void wcn36xx_smd_rsp_process(struct wcn36xx *wcn, void *buf, size_t len)
 
        case WCN36XX_HAL_COEX_IND:
        case WCN36XX_HAL_AVOID_FREQ_RANGE_IND:
+       case WCN36XX_HAL_DEL_BA_IND:
        case WCN36XX_HAL_OTA_TX_COMPL_IND:
        case WCN36XX_HAL_MISSED_BEACON_IND:
        case WCN36XX_HAL_DELETE_STA_CONTEXT_IND:
@@ -2275,6 +2276,7 @@ static void wcn36xx_ind_smd_work(struct work_struct *work)
 
        switch (msg_header->msg_type) {
        case WCN36XX_HAL_COEX_IND:
+       case WCN36XX_HAL_DEL_BA_IND:
        case WCN36XX_HAL_AVOID_FREQ_RANGE_IND:
                break;
        case WCN36XX_HAL_OTA_TX_COMPL_IND: