rtlwifi: rtl8192ee: Fix adhoc fail
authorTroy Tan <troy_tan@realsil.com.cn>
Tue, 20 Jan 2015 17:01:22 +0000 (11:01 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Feb 2015 13:10:15 +0000 (15:10 +0200)
When the buffer descriptor index exceeds 2, then a TX HANG condition
will result.

Signed-off-by: Troy Tan <troy_tan@realsil.com.cn>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org> [V3.18]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rtlwifi/rtl8192ee/fw.c
drivers/net/wireless/rtlwifi/rtl8192ee/hw.c