rtl8xxxu: Use has_s0s1 for REG_S0S1 issues only
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 14 Apr 2016 18:58:50 +0000 (14:58 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 15 Apr 2016 18:36:31 +0000 (21:36 +0300)
commit55c0b6ae1e7b1a402f23ca8fafa1874f854b4834
treef33256e2c875582a13ffdf0fcb319fd5c5b739f8
parent57e42a21a941decc15f1198db64fe3959b066096
rtl8xxxu: Use has_s0s1 for REG_S0S1 issues only

Instead use tx_desc_size() to distinguish between gen1
(8723a/8192c/8188c) and gen2 (8723b/8192e) parts.

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