1. 30 3月, 2015 1 次提交
  2. 13 3月, 2015 1 次提交
  3. 03 3月, 2015 1 次提交
  4. 26 2月, 2015 1 次提交
  5. 28 1月, 2015 2 次提交
  6. 16 12月, 2014 1 次提交
  7. 24 10月, 2014 1 次提交
  8. 01 10月, 2014 1 次提交
  9. 26 6月, 2014 1 次提交
  10. 07 5月, 2014 1 次提交
  11. 01 5月, 2014 1 次提交
  12. 07 3月, 2014 1 次提交
  13. 05 3月, 2014 1 次提交
  14. 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
  15. 06 12月, 2013 1 次提交
  16. 12 6月, 2013 1 次提交
  17. 02 4月, 2013 1 次提交
  18. 14 3月, 2013 1 次提交
  19. 09 3月, 2013 1 次提交
    • L
      rtlwifi: rtl8192cu: Fix schedule while atomic bug splat · 66489978
      Larry Finger 提交于
      When run at debug 3 or higher, rtl8192cu reports a BUG as follows:
      
      BUG: scheduling while atomic: kworker/u:0/5281/0x00000002
      INFO: lockdep is turned off.
      Modules linked in: rtl8192cu rtl8192c_common rtlwifi fuse af_packet bnep bluetooth b43 mac80211 cfg80211 ipv6 snd_hda_codec_conexant kvm_amd k
      vm snd_hda_intel snd_hda_codec bcma rng_core snd_pcm ssb mmc_core snd_seq snd_timer snd_seq_device snd i2c_nforce2 sr_mod pcmcia forcedeth i2c_core soundcore
       cdrom sg serio_raw k8temp hwmon joydev ac battery pcmcia_core snd_page_alloc video button wmi autofs4 ext4 mbcache jbd2 crc16 thermal processor scsi_dh_alua
       scsi_dh_hp_sw scsi_dh_rdac scsi_dh_emc scsi_dh ata_generic pata_acpi pata_amd [last unloaded: rtlwifi]
      Pid: 5281, comm: kworker/u:0 Tainted: G        W    3.8.0-wl+ #119
      Call Trace:
       [<ffffffff814531e7>] __schedule_bug+0x62/0x70
       [<ffffffff81459af0>] __schedule+0x730/0xa30
       [<ffffffff81326e49>] ? usb_hcd_link_urb_to_ep+0x19/0xa0
       [<ffffffff8145a0d4>] schedule+0x24/0x70
       [<ffffffff814575ec>] schedule_timeout+0x18c/0x2f0
       [<ffffffff81459ec0>] ? wait_for_common+0x40/0x180
       [<ffffffff8133f461>] ? ehci_urb_enqueue+0xf1/0xee0
       [<ffffffff810a579d>] ? trace_hardirqs_on+0xd/0x10
       [<ffffffff81459f65>] wait_for_common+0xe5/0x180
       [<ffffffff8107d1c0>] ? try_to_wake_up+0x2d0/0x2d0
       [<ffffffff8145a08e>] wait_for_completion_timeout+0xe/0x10
       [<ffffffff8132ab1c>] usb_start_wait_urb+0x8c/0x100
       [<ffffffff8132adf9>] usb_control_msg+0xd9/0x130
       [<ffffffffa057dd8d>] _usb_read_sync+0xcd/0x140 [rtlwifi]
       [<ffffffffa057de0e>] _usb_read32_sync+0xe/0x10 [rtlwifi]
       [<ffffffffa04b0555>] rtl92cu_update_hal_rate_table+0x1a5/0x1f0 [rtl8192cu]
      
      The cause is a synchronous read from routine rtl92cu_update_hal_rate_table().
      The resulting output is not critical, thus the debug statement is
      deleted.
      Reported-by: NJussi Kivilinna <jussi.kivilinna@mbnet.fi>
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Cc: Stable <stable@vger.kernel.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      66489978
  20. 31 10月, 2012 1 次提交
  21. 20 10月, 2012 1 次提交
  22. 07 6月, 2012 1 次提交
    • J
      wireless: Remove casts to same type · 2c208890
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      Neatened the mwifiex_deauthenticate_infra function which
      was doing odd things with array pointers and not using
      is_zero_ether_addr.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2c208890
  23. 31 1月, 2012 2 次提交
  24. 25 1月, 2012 6 次提交
  25. 20 12月, 2011 1 次提交
  26. 22 11月, 2011 1 次提交
  27. 22 7月, 2011 1 次提交
  28. 21 6月, 2011 1 次提交
  29. 27 4月, 2011 3 次提交
  30. 15 4月, 2011 1 次提交
    • L
      rtlwifi: Fix unitialized variable warnings · 9f219bd2
      Larry Finger 提交于
      In http://lkml.indiana.edu/hypermail/linux/kernel/1104.1/01955.html, Geerti
      Uytterhoeven reports the following warnings for the rtlwifi drivers.
      
      src/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c: warning:
      	 'cck_index' may be used uninitialized in this function: => 637
      src/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c: warning:
      	 'cck_index_old' may be used uninitialized in this function: => 637
      src/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c: warning:
      	 'box_extreg' may be used uninitialized in this function: => 303
      src/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c: warning:
      	 'box_reg' may be used uninitialized in this function: => 303
      src/drivers/net/wireless/rtlwifi/rtl8192ce/rf.c: warning:
      	 'chnlgroup' may be used uninitialized in this function: => 205
      src/drivers/net/wireless/rtlwifi/rtl8192ce/rf.c: warning:
      	 'u4_regvalue' may be used uninitialized in this function: => 450
      src/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c: warning:
      	 'hq_sele' may be used uninitialized in this function: => 924
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9f219bd2
  31. 24 2月, 2011 1 次提交
    • L
      rtlwifi: rtl8192ce: rtl8192cu: Fix multiple def errors for allyesconfig build · 1472d3a8
      Larry Finger 提交于
      As noted by Stephan Rothwell, an allyesconfig build fails since rtl8192cu
      was merged with failures such as:
      
      drivers/net/wireless/rtlwifi/rtl8192cu/built-in.o: In function `rtl92c_phy_sw_chnl':
      (.opd+0xf30): multiple definition of `rtl92c_phy_sw_chnl'
      drivers/net/wireless/rtlwifi/rtl8192ce/built-in.o:(.opd+0xb70): first defined here
      drivers/net/wireless/rtlwifi/rtl8192cu/built-in.o: In function `rtl92c_fill_h2c_cmd':
      (.opd+0x288): multiple definition of `rtl92c_fill_h2c_cmd'
      drivers/net/wireless/rtlwifi/rtl8192ce/built-in.o:(.opd+0x288): first defined here
      
      These are caused because the code shared between rtl8192ce and rtl8192cu
      is included in both drivers. This has been fixed by creating a new modue that
      contains the shared code.
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1472d3a8