rtl8xxxu: Pause TX before calling disable_rf()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 14 Apr 2016 20:37:20 +0000 (16:37 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 15 Apr 2016 18:38:16 +0000 (21:38 +0300)
commit265697eb2f1b6c472c4b09ff7e008bc8ab145b4f
tree29e9dac6fbdb3372ddde867633e5ffffabe092f0
parentae5c01fd2fd816486169787440bf900d1b703230
rtl8xxxu: Pause TX before calling disable_rf()

All the disable_rf() functions were setting REG_TXPAUSE to 0xff to
stop transmission. Do it centrally before calling disable_rf()
instead.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c