1. 06 6月, 2012 4 次提交
  2. 25 5月, 2012 1 次提交
    • M
      iwlwifi: do not send lq cmd when station add fails · f4c37176
      Meenakshi Venkataraman 提交于
      When adding a station fails in
      iwl_restore_stations, the driver treats it
      like a successful station add and sends a
      link quality command, when it it shouldn't.
      
      This patch fixes one of the potential
      sources for kernel warnings like this one:
      
      WARNING: at drivers/net/wireless/iwlwifi/iwl-agn-sta.c:905 iwl_send_lq_cmd+0x130/0x217 [iwlwifi]()
      Hardware name: 3323A2G
      Modules linked in: ...
      Pid: 17359, comm: kworker/u:2 Tainted: G           O 3.3.0-wl+ #1
      Call Trace:
       [<ffffffff81039620>] warn_slowpath_common+0x7e/0x96
       [<ffffffff8103964d>] warn_slowpath_null+0x15/0x17
       [<ffffffffa02a9f0b>] iwl_send_lq_cmd+0x130/0x217 [iwlwifi]
       [<ffffffffa02aa1fb>] iwl_restore_stations+0x209/0x289 [iwlwifi]
       [<ffffffffa02b07c2>] iwlagn_commit_rxon+0x602/0x7bd [iwlwifi]
       [<ffffffffa02b111f>] iwlagn_bss_info_changed+0x247/0x31a [iwlwifi]
       [<ffffffffa0861437>] ieee80211_bss_info_change_notify+0x1a5/0x1ba [mac80211]
       [<ffffffffa088afad>] ieee80211_destroy_auth_data+0x4b/0x70 [mac80211]
       [<ffffffffa088df26>] ieee80211_sta_work+0xb5/0x954 [mac80211]
      Signed-off-by: NMeenakshi Venkataraman <meenakshi.venkataraman@intel.com>
      Reviewed-by: NWey-Yi W Guy <wey-yi.w.guy@intel.com>
      Reviewed-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f4c37176
  3. 11 5月, 2012 1 次提交
    • J
      drivers/net: Convert compare_ether_addr to ether_addr_equal · 2e42e474
      Joe Perches 提交于
      Use the new bool function ether_addr_equal to add
      some clarity and reduce the likelihood for misuse
      of compare_ether_addr for sorting.
      
      Done via cocci script:
      
      $ cat compare_ether_addr.cocci
      @@
      expression a,b;
      @@
      -	!compare_ether_addr(a, b)
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	compare_ether_addr(a, b)
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) == 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) != 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) == 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) != 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!!ether_addr_equal(a, b)
      +	ether_addr_equal(a, b)
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2e42e474
  4. 24 4月, 2012 1 次提交
  5. 13 4月, 2012 4 次提交
  6. 09 3月, 2012 2 次提交
  7. 08 3月, 2012 4 次提交
  8. 07 3月, 2012 8 次提交
  9. 22 2月, 2012 1 次提交
  10. 25 1月, 2012 2 次提交
  11. 07 1月, 2012 2 次提交
  12. 16 12月, 2011 2 次提交
  13. 09 12月, 2011 1 次提交
  14. 03 12月, 2011 2 次提交
  15. 12 11月, 2011 3 次提交
  16. 15 10月, 2011 2 次提交