1. 05 1月, 2012 9 次提交
    • L
      cfg80211: replace reg.c Nokia commit c4c32294 · 8848bef0
      Luis R. Rodriguez 提交于
      Nokia hasn't gotten back to me in over 1 month for a relicense
      change request. There are only a few changes that they contributed,
      so just reverting their changes but replacing with another set.
      This change replaces this commit:
      
      commit c4c32294
      Author: Yuri Ershov <ext-yuri.ershov@nokia.com>
      Date:   Tue Jun 29 15:08:08 2010 +0400
      
          cfg80211: Update of regulatory request initiator handling
      
          In some cases there could be possible dereferencing freed pointer. The
          update is intended to avoid this issue.
      Signed-off-by: NYuri Ershov <ext-yuri.ershov@nokia.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      
      Cc: Petri Karhula <petri.karhula@nokia.com>
      Signed-off-by: NLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8848bef0
    • L
      ath9k_hw: fix sparse complaint on ar9003_switch_com_spdt_get() · a98aa7ae
      Luis R. Rodriguez 提交于
      This fixes this sparse complaint:
      
      make C=2 CF="-D__CHECK_ENDIAN__" M=drivers/net/wireless/ath/
      
        CHECK   drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21:    expected restricted __le32 [usertype] val
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21:    got restricted __le16 [usertype] switchcomspdt
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21:    expected restricted __le32 [usertype] val
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21:    got restricted __le16 [usertype] switchcomspdt
      
      The eep->modalHeader5G.switchcomspdt is a le16 and we return u16,
      so just return le16_to_cpu().
      
      Cc: Felix Fietkau <nbd@openwrt.org>
      Signed-off-by: NLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a98aa7ae
    • L
      ath5k: avoid sparse warnings on tracing · 76ff9a61
      Luis R. Rodriguez 提交于
      Just skip the sparse checks on tracing.
      
        CHECK   drivers/net/wireless/ath/ath5k/base.c
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:19:1: error: incompatible types for operation (<)
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:19:1:    left side has type struct ath5k_hw *<noident>
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:19:1:    right side has type int
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:37:1: error: incompatible types for operation (<)
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:37:1:    left side has type struct ath5k_hw *<noident>
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:37:1:    right side has type int
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:63:1: error: incompatible types for operation (<)
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:63:1:    left side has type struct ath5k_hw *<noident>
      include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:63:1:    right side has type int
      /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
      /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
      /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
      /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
        CC [M]  drivers/net/wireless/ath/ath5k/base.o
      Signed-off-by: NLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      76ff9a61
    • L
      ath9k: fix tx queue sparse complaint · 1512a486
      Luis R. Rodriguez 提交于
      This fixes this rant from sparse:
      
        CHECK   drivers/net/wireless/ath/ath9k/xmit.c
      drivers/net/wireless/ath/ath9k/xmit.c:107:13: warning: context imbalance in 'ath_txq_lock' - wrong count at exit
      drivers/net/wireless/ath/ath9k/xmit.c:112:13: warning: context imbalance in 'ath_txq_unlock' - unexpected unlock
      drivers/net/wireless/ath/ath9k/xmit.c:123:30: warning: context imbalance in 'ath_txq_unlock_complete' - unexpected unlock
        CC [M]  drivers/net/wireless/ath/ath9k/xmit.
      Signed-off-by: NLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1512a486
    • L
      ath9k_hw: fix sparse warnings on ar9003_rtt.c · e01ff34e
      Luis R. Rodriguez 提交于
      This fixes these sparse warnings:
      
        CHECK   drivers/net/wireless/ath/ath9k/ar9003_rtt.c
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:36:6: warning: symbol 'ar9003_hw_rtt_enable' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:41:6: warning: symbol 'ar9003_hw_rtt_disable' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:46:6: warning: symbol 'ar9003_hw_rtt_set_mask' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:52:6: warning: symbol 'ar9003_hw_rtt_force_restore' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:102:6: warning: symbol 'ar9003_hw_rtt_load_hist' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:135:6: warning: symbol 'ar9003_hw_rtt_fill_hist' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:143:6: warning: symbol 'ar9003_hw_rtt_clear_hist' was not declared. Should it be stati
      Signed-off-by: NLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e01ff34e
    • I
      NFC: Handle error during NCI data exchange · 004161cb
      Ilan Elias 提交于
      Add support for NCI Interface Error Notification.
      When this notification is received and we're during a
      data exchange transaction, indicate an error to the NFC
      core layer via the data exchange callback.
      Signed-off-by: NIlan Elias <ilane@ti.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      004161cb
    • I
      NFC: Update names and structs to NCI spec 1.0 d22 · 637d85a7
      Ilan Elias 提交于
      Addition, deletion, and modification of NCI constants.
      Changes in NCI commands, responses, and notifications structures.
      Signed-off-by: NIlan Elias <ilane@ti.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      637d85a7
    • D
      cee0bec5
    • H
      mac80211: Remove superfluous ieee80211_rx_h_remove_qos_control · b423db5b
      Helmut Schaa 提交于
      This seems to not serve any purpose anymore, at least all frame
      processing afterwards seems to be able to deal with QoS frames. So,
      let's save the expensive memmove and just leave the QoS header in the
      802.11 frame for further processing.
      Signed-off-by: NHelmut Schaa <helmut.schaa@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b423db5b
  2. 03 1月, 2012 1 次提交
  3. 28 12月, 2011 1 次提交
  4. 24 12月, 2011 1 次提交
  5. 23 12月, 2011 12 次提交
  6. 22 12月, 2011 13 次提交
  7. 21 12月, 2011 3 次提交