1. 29 6月, 2008 2 次提交
  2. 28 6月, 2008 31 次提交
  3. 27 6月, 2008 7 次提交
    • 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
    • J
      mac80211: fix tx fragmentation · 03f93c3d
      Johannes Berg 提交于
      This patch fixes TX fragmentation caused by
      tx handlers reordering and 'tx info to cb' patches
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      03f93c3d
    • J
      mac80211: make workqueue freezable · 59959a61
      Johannes Berg 提交于
      This patch makes the mac80211 workqueue freezable making it
      interact a bit better with system suspend and not try to ping
      the AP while the hardware is down.
      
      This doesn't really help with implementing proper suspend in
      any way but makes some bad things trigger less.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      59959a61
    • 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
    • I
      mac80211: Add RTNL warning for workqueue · 428da765
      Ivo van Doorn 提交于
      The workqueue provided by mac80211 should not be used for
      scheduled tasks that acquire the RTNL lock. This could be done
      when the driver uses the function ieee80211_iterate_active_interfaces()
      within the scheduled work. Such behavior will end in locking
      dependencies problems when an interface is being removed.
      
      This patch will add a notification about the RTNL locking and
      the mac80211 workqueue to prevent driver developers from
      blindly using it.
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Acked-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      428da765