1. 27 9月, 2016 1 次提交
  2. 08 7月, 2016 2 次提交
  3. 16 6月, 2016 1 次提交
    • A
      rtlwifi: fix error handling in *_read_adapter_info() · 5345ea6a
      Arnd Bergmann 提交于
      There are nine copies of the _rtl88ee_read_adapter_info() function,
      and most but not all of them cause a build warning in some configurations:
      
      rtl8192de/hw.c: In function '_rtl92de_read_adapter_info':
      rtl8192de/hw.c:1767:12: error: 'hwinfo' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      rtl8723ae/hw.c: In function '_rtl8723e_read_adapter_info.constprop':
      rtlwifi/rtl8723ae/hw.c:1654:12: error: 'hwinfo' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      
      The problem is that when rtlefuse->epromtype is something other than
      EEPROM_BOOT_EFUSE, the rest of the function uses undefined data, resulting
      in random behavior later.
      
      Apparently, in some drivers, the problem was already found and fixed
      but the fix did not make it into the others.
      
      This picks one approach to deal with the problem and applies identical
      code to all 9 files, to simplify the later consolidation of those.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      5345ea6a
  4. 14 10月, 2015 1 次提交
  5. 26 5月, 2015 2 次提交
  6. 30 3月, 2015 1 次提交
  7. 20 3月, 2015 1 次提交
    • J
      rtl8188ee: fix build break due to missing rtl_hal_pwrseqcmdparsing definition · 0aef188a
      Jeff Layton 提交于
      I've been getting this error when building mainline kernels using
      Fedora's config files:
      
          drivers/net/wireless/rtlwifi/rtl8188ee/hw.c: In function ‘_rtl88ee_init_mac’:
          drivers/net/wireless/rtlwifi/rtl8188ee/hw.c:853:2: error: implicit declaration of function ‘rtl_hal_pwrseqcmdparsing’ [-Werror=implicit-function-declaration]
            if (!rtl_hal_pwrseqcmdparsing(rtlpriv, PWR_CUT_ALL_MSK,
            ^
          cc1: some warnings being treated as errors
          scripts/Makefile.build:258: recipe for target 'drivers/net/wireless/rtlwifi/rtl8188ee/hw.o' failed
      
      I'm not sure if this is the correct fix, but it does seem to allow the
      build to complete. I suspect that this was broken by commit 34ed780a
      (rtlwifi: Fix problems with building an allyesconfig). Most of the files
      that removed the include of pwrseqcmd.h, added one for ../pwrseqcmd.h.
      The rtl8188ee driver had it removed it but didn't add the include of the
      file in the parent directory.
      Signed-off-by: NJeff Layton <jeff.layton@primarydata.com>
      Acked-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      0aef188a
  8. 26 2月, 2015 1 次提交
  9. 01 10月, 2014 1 次提交
  10. 27 9月, 2014 3 次提交
  11. 26 6月, 2014 1 次提交
  12. 20 5月, 2014 1 次提交
  13. 28 3月, 2014 2 次提交
  14. 07 3月, 2014 2 次提交
  15. 05 3月, 2014 1 次提交
  16. 25 2月, 2014 1 次提交
    • 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
  17. 04 10月, 2013 1 次提交
  18. 11 4月, 2013 1 次提交
  19. 09 4月, 2013 1 次提交
  20. 04 4月, 2013 1 次提交
  21. 02 4月, 2013 1 次提交