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)
commitb661a5da57766f4f565d64238b753d6efc0f5499
treeb358595d5bcb92eff7f253fc4fe2b038c946a5c0
parent3f7bb3f34cc880bc35f6c278be16cd8afee7c524
rtlwifi: rtl8192ee: Fix adhoc fail

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