From: Peter Wu Date: Fri, 14 Feb 2014 18:03:44 +0000 (+0100) Subject: rtlwifi: avoid accessing RCR directly X-Git-Tag: v3.15-rc1~113^2~159^2^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e51048cdf0bdf1358c39839eabb22a06674af9ed;p=pandora-kernel.git rtlwifi: avoid accessing RCR directly The rtl*_set_check_bssid functions are mostly the same, but access the RCR register in different ways. Use the get_hw_reg abstraction layer (which reads rtlpci->receive_config for PCI devices and mac->rx_conf for USB). There is no functional change for cases where receive_config was accessed directly. For rtl8192ce, there is still no change because nothing modifies REG_RCR or receive_config. For rtl8192cu, it now also applies changes to rx_conf from configure_filter, but that can be considered a bug which is fixed later. Signed-off-by: Peter Wu Acked-by: Larry Finger Signed-off-by: John W. Linville --- Reading git-diff-tree failed