• P
    rtlwifi: avoid accessing RCR directly · e51048cd
    Peter Wu 提交于
    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: NPeter Wu <lekensteyn@gmail.com>
    Acked-by: NLarry Finger <Larry.Finger@lwfinger.net>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    e51048cd
hw.c 67.9 KB