mwifiex: add missing check for PCIe8997 chipset
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 16 Dec 2015 12:21:44 +0000 (04:21 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Dec 2015 15:31:31 +0000 (17:31 +0200)
This patch ensures mwifiex_pcie_txbd_empty() does take care
of 8997 chipset.

Fixes: 6d85ef00d9dfe ("mwifiex: add support for 8997 chipset")
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.h

index 7db46eeb6bcf7840777429d259ada049e3628cdc..347ba45f1f2ad2f11140db13c1e79947d6cb993d 100644 (file)
@@ -342,6 +342,7 @@ mwifiex_pcie_txbd_empty(struct pcie_service_card *card, u32 rdptr)
                        return 1;
                break;
        case PCIE_DEVICE_ID_MARVELL_88W8897:
+       case PCIE_DEVICE_ID_MARVELL_88W8997:
                if (((card->txbd_wrptr & reg->tx_mask) ==
                     (rdptr & reg->tx_mask)) &&
                    ((card->txbd_wrptr & reg->tx_rollover_ind) ==