rtlwifi: rtl8192de: Fix missing code to retrieve RX buffer address
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 11 Nov 2019 19:40:44 +0000 (13:40 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 14 Nov 2019 15:10:14 +0000 (17:10 +0200)
commit0e531cc575c4e9e3dd52ad287b49d3c2dc74c810
tree5c589df85c56408edd69a5a6d8667c23da3643d2
parent21c60a28af58d7c376502c26fbb0064b39c32917
rtlwifi: rtl8192de: Fix missing code to retrieve RX buffer address

In commit 38506ecefab9 ("rtlwifi: rtl_pci: Start modification for
new drivers"), a callback to get the RX buffer address was added to
the PCI driver. Unfortunately, driver rtl8192de was not modified
appropriately and the code runs into a WARN_ONCE() call. The use
of an incorrect array is also fixed.

Fixes: 38506ecefab9 ("rtlwifi: rtl_pci: Start modification for new drivers")
Cc: Stable <stable@vger.kernel.org> # 3.18+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c