1. 04 7月, 2008 14 次提交
  2. 02 7月, 2008 1 次提交
  3. 29 6月, 2008 2 次提交
  4. 28 6月, 2008 14 次提交
  5. 27 6月, 2008 9 次提交
    • J
      wireless: remove RFKILL_STATE_HARD_BLOCKED warnings · ff28bd94
      John W. Linville 提交于
        CC [M]  drivers/net/wireless/b43/rfkill.o
      drivers/net/wireless/b43/rfkill.c: In function ‘b43_rfkill_soft_toggle’:
      drivers/net/wireless/b43/rfkill.c:90: warning: enumeration value ‘RFKILL_STATE_HARD_BLOCKED’ not handled in switch
      
        CC [M]  drivers/net/wireless/b43legacy/rfkill.o
      drivers/net/wireless/b43legacy/rfkill.c: In function ‘b43legacy_rfkill_soft_toggle’:
      drivers/net/wireless/b43legacy/rfkill.c:92: warning: enumeration value ‘RFKILL_STATE_HARD_BLOCKED’ not handled in switch
      
        CC [M]  drivers/net/wireless/iwlwifi/iwl-rfkill.o
      drivers/net/wireless/iwlwifi/iwl-rfkill.c: In function ‘iwl_rfkill_soft_rf_kill’:
      drivers/net/wireless/iwlwifi/iwl-rfkill.c:56: warning: enumeration value ‘RFKILL_STATE_HARD_BLOCKED’ not handled in switch
      
      Also handle RFKILL_STATE_{ON,OFF} -> RFKILL_STATE_{UNBLOCKED,SOFT_BLOCKED}
      conversion since I'm already here...
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ff28bd94
    • J
      ath5k: remove now unused variable declared in ath5k_tx · d195a2ca
      John W. Linville 提交于
        CC [M]  drivers/net/wireless/ath5k/base.o
      drivers/net/wireless/ath5k/base.c: In function ‘ath5k_tx’:
      drivers/net/wireless/ath5k/base.c:2598: warning: unused variable ‘info’
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d195a2ca
    • P
      wireless: Small cleanups · e292c737
      Pavel Machek 提交于
      Small whitespace cleanups for wireless drivers
      Signed-off-by: NPavel Machek <pavel@suse.cz>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e292c737
    • R
      iwlwifi: fix build for CONFIG_INPUT=n · b973e42e
      Randy Dunlap 提交于
      Fix iwlwifi so that it builds cleanly with CONFIG_INPUT=n.
      Also free the input device on exit.
      
      drivers/built-in.o: In function `iwl_rfkill_unregister':
      (.text+0xbf430): undefined reference to `input_unregister_device'
      drivers/built-in.o: In function `iwl_rfkill_init':
      (.text+0xbf51c): undefined reference to `input_allocate_device'
      drivers/built-in.o: In function `iwl_rfkill_init':
      (.text+0xbf5bf): undefined reference to `input_register_device'
      drivers/built-in.o: In function `iwl_rfkill_init':
      (.text+0xbf5e9): undefined reference to `input_free_device'
      net/built-in.o: In function `rfkill_disconnect':
      rfkill-input.c:(.text+0xe71e1): undefined reference to `input_close_device'
      rfkill-input.c:(.text+0xe71e9): undefined reference to `input_unregister_handle'
      net/built-in.o: In function `rfkill_connect':
      rfkill-input.c:(.text+0xe723e): undefined reference to `input_register_handle'
      rfkill-input.c:(.text+0xe724d): undefined reference to `input_open_device'
      rfkill-input.c:(.text+0xe725c): undefined reference to `input_unregister_handle'
      net/built-in.o: In function `rfkill_handler_init':
      rfkill-input.c:(.init.text+0x36ec): undefined reference to `input_register_handler'
      net/built-in.o: In function `rfkill_handler_exit':
      rfkill-input.c:(.exit.text+0x112c): undefined reference to `input_unregister_handler'
      make[1]: *** [.tmp_vmlinux1] Error 1
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b973e42e
    • M
      b43: Fix PIO skb clobber · 14a7dd6f
      Michael Buesch 提交于
      This fixes a clobber of the skb that was introduced by the
      tx_control->cb conversion patches.
      This bug causes a crash when the skb destructor is invoked. That happens
      on skb_orphan or skb_kfree.
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      14a7dd6f
    • I
      rt2x00: kill URB for all TX queues during disable_radio() · 40af48ce
      Ivo van Doorn 提交于
      During rt2x00usb_disable_radio() all pending urb's should
      be killed and not only those from the RX queue.
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      40af48ce
    • B
      ath5k: convert LED code to use mac80211 triggers · 3a078876
      Bob Copeland 提交于
      This change cleans up the ath5k LED code and converts it to use
      the standard LED device class along with the rx/tx LED triggers
      provided by mac80211.
      Signed-off-by: NBob Copeland <me@bobcopeland.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3a078876
    • I
      rt2x00: Remove duplicate deinitialization · 61243d8e
      Ivo van Doorn 提交于
      When rt2x00queue_alloc_rxskbs() fails rt2x00queue_unitialize()
      will be called which will free all rxskb. So we don't need
      to do this in the rt2x00queue_alloc_rxskb() function as well.
      
      rt2x00queue_free_skb() unmaps the DMA but doesn't clear the
      allocation flag. Since the code is copied from rt2x00queue_unmap_skb()
      anyway (and that function does clear the flag) we might as well
      use that function directly.
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      61243d8e
    • M
      b43: Add debugfs firmware debugging knob · 923fd703
      Michael Buesch 提交于
      This adds a firmware debugging knob to debugfs.
      With this knob it's possible to enable advanced runtime firmware
      checks.
      For now it only implements one sanity check for the mac-suspend.
      In future there'll probably be more.
      If CONFIG_B43_DEBUG is disabled, these checks will collapse to nothing.
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      923fd703