ath10k: fix IRAM banks number for QCA9377
authorBartosz Markowski <bartosz.markowski@tieto.com>
Thu, 15 Dec 2016 09:23:22 +0000 (11:23 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 29 Dec 2016 13:17:23 +0000 (15:17 +0200)
QCA9377 firmware shall alloc 4 IRAM banks

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c

index 0457e315d336c52ef99f06cf2c5ec2ebb01ac046..983f65bbb7fbd025fdde8b8064c137c54ef40bdc 100644 (file)
@@ -1973,7 +1973,7 @@ static int ath10k_pci_get_num_banks(struct ath10k *ar)
                }
                break;
        case QCA9377_1_0_DEVICE_ID:
-               return 2;
+               return 4;
        }
 
        ath10k_warn(ar, "unknown number of banks, assuming 1\n");