rtl8xxxu: Correctly mask what was read from REG_CCK0_AFE_SETTING
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 14 Apr 2016 18:58:55 +0000 (14:58 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 15 Apr 2016 18:36:36 +0000 (21:36 +0300)
commit9068308ad185a3c2c5d7beb77146b6df7b96b9c6
treef094f3e9ee27dd4b7e81b9bfb916d2fd7357624d
parent15f9dc99237df4b29f000464c35925bb0a56ead7
rtl8xxxu: Correctly mask what was read from REG_CCK0_AFE_SETTING

The old code incorrectly wiped out bits 0-23 by mistake when setting
the RX path for 1T 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