rtlwifi: fix the wrong size to calculate fifo space
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 13 Nov 2017 09:39:34 +0000 (17:39 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Dec 2017 13:14:51 +0000 (15:14 +0200)
commitdc9682a0cca5018a64eefe1630f204fe4fbfebcc
tree48af7c9c05b6476ec867627d81ef4b669410f7d2
parentfb9829e90dcd5365c45478629e45075560ea8644
rtlwifi: fix the wrong size to calculate fifo space

Give correct fifo size to calculate fifo space. Fortunately, the values of
RTL_PCI_MAX_RX_COUNT and TX_DESC_NUM_92E are the same in old code, so it
still works.

Signed-off-by: Steven Ting <steventing@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/pci.h
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c