]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
rtlwifi/rtl8188ee: Fix media status register mask
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Mon, 23 Jun 2014 22:00:22 +0000 (00:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Jun 2014 19:40:34 +0000 (15:40 -0400)
commit1dabe76c348f9ced521e412b9bd63ee5ec4924fd
tree294d8667cc5d50822565e25718a80000b17987a0
parent965ec74110011dbcb4e6a7059c7b4d31ee95c33a
rtlwifi/rtl8188ee: Fix media status register mask

bt_msr & 0xfc will never match 0x3. Fix this by using a mask that actually matches the available types.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8188ee/hw.c
drivers/net/wireless/rtlwifi/rtl8188ee/reg.h