diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-10-30 05:17:11 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-10-30 20:00:23 +0100 |
commit | 8ae3c16e41b02db8ffe4121468519d6352baedc1 (patch) | |
tree | 1cd166522ae073a1f0dece20006e6176cf3423b7 /drivers/net/wireless/rtlwifi/rtl8192ce/trx.c | |
parent | rtlwifi: rtl8192se: Add missing section to read descriptor setting (diff) | |
download | linux-8ae3c16e41b02db8ffe4121468519d6352baedc1.tar.xz linux-8ae3c16e41b02db8ffe4121468519d6352baedc1.zip |
rtlwifi: rtl8192ce: Add missing section to read descriptor setting
The new version of rtlwifi needs code in rtl92ce_get_desc() that returns
the buffer address for read operations.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192ce/trx.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/trx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c index 2fb9c7acb76a..dc3d20b17a26 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c @@ -728,6 +728,9 @@ u32 rtl92ce_get_desc(u8 *p_desc, bool istx, u8 desc_name) case HW_DESC_RXPKT_LEN: ret = GET_RX_DESC_PKT_LEN(pdesc); break; + case HW_DESC_RXBUFF_ADDR: + ret = GET_RX_STATUS_DESC_BUFF_ADDR(pdesc); + break; default: RT_ASSERT(false, "ERR rxdesc :%d not process\n", desc_name); |