1. 01 10月, 2006 1 次提交
    • J
      drivers/net/wireless/{airo,ipw2100}: fix error handling bugs · de897881
      Jeff Garzik 提交于
      airo:
      * fix oops, if !CONFIG_PROC_FS (create_proc_entry always returns NULL)
      
      * handle pci_register_driver() failure.  if it fails, we really do
        want to exit, rather than (as a comment indicates) return success
        because-we-are-a-library.
      
      * #if 0 have_isa_dev variable, which is assigned a value but never used
      
      ipw2100:
      * handle sysfs_create_group() failure
      
      * handle driver_create_file() failure
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      de897881
  2. 26 9月, 2006 1 次提交
  3. 21 9月, 2006 1 次提交
  4. 30 8月, 2006 1 次提交
    • S
      [PATCH] kthread: airo.c · 3b4c7d64
      Sukadev Bhattiprolu 提交于
      The airo driver is currently caching a pid for later use, but with the
      implementation of containers, pids themselves do not uniquely identify a
      task.  The driver is also using kernel_thread() which is deprecated in
      drivers.
      
      This patch essentially replaces the kernel_thread() with kthread_create().
      It also stores the task_struct of the airo_thread rather than its pid.
      Since this introduces a second task_struct in struct airo_info, the patch
      renames airo_info.task to airo_info.list_bss_task.
      
      As an extension of these changes, the patch further:
      
      	 - replaces kill_proc() with kthread_stop()
      	 - replaces signal_pending() with kthread_should_stop()
      	 - removes thread completion synchronisation which is handled by
      	   kthread_stop().
      
      [akpm@osdl.org: fix races]
      Signed-off-by: NSukadev Bhattiprolu <sukadev@us.ibm.com>
      Cc: Javier Achirica <achirica@gmail.com>
      Cc: Christoph Hellwig <hch@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3b4c7d64
  5. 28 7月, 2006 1 次提交
  6. 03 7月, 2006 1 次提交
  7. 01 7月, 2006 1 次提交
  8. 06 5月, 2006 1 次提交
  9. 25 4月, 2006 1 次提交
  10. 20 4月, 2006 1 次提交
  11. 24 3月, 2006 3 次提交
  12. 28 2月, 2006 1 次提交
  13. 17 2月, 2006 1 次提交
  14. 31 1月, 2006 2 次提交
  15. 17 1月, 2006 2 次提交
  16. 01 12月, 2005 2 次提交
    • D
      [PATCH] airo.c: add support for IW_ENCODE_TEMP (i.e. xsupplicant) · f89b2321
      Dan Streetman 提交于
      Hello Jeff,
      
      this patch changes causes the airo driver to not reset the card when a
      temporary WEP key is set, when the IW_ENCODE_TEMP flag is used.  This is
      needed for xsupplicant as 802.1x, LEAP, etc. change WEP keys frequently
      after authentication and resetting the card causes infinite
      reauthentication.
      
      Javier and Jean agree with the patch, Javier suggested I send this to
      you, can you apply this?
      
      Thanks.
      Signed-off-by: NDan Streetman <ddstreet@ieee.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      f89b2321
    • M
      [wireless airo] reset card in init · 1d97f384
      Matthieu CASTET 提交于
      without this patch after an rmmod, modprobe the card won't work anymore
      until the next reboot.
      
      This patch seem safe to apply for all cards as the bsd driver already do
      that.
      
      I had to add a timeout because strange things happen (issuecommand will
      fail) if the card is already reseted (after a reboot).
      
      PS : it seems there are missing reset when leaving monitor mode...
      Signed-off-by: NMatthieu CASTET <castet.matthieu@free.fr>
      1d97f384
  17. 08 11月, 2005 1 次提交
  18. 06 11月, 2005 2 次提交
  19. 30 10月, 2005 2 次提交
  20. 29 10月, 2005 1 次提交
  21. 04 10月, 2005 1 次提交
    • M
      airo: fix resume · 53232803
      Michal Schmidt 提交于
      Cisco Aironet doesn't resume properly from swsusp, because the resume
      method confuses a PM_EVENT_* for a PCI power state. It thinks that it is
      resuming from PCI_D1 and doesn't do the necessary initialization of the
      card.
      Signed-off-by: NMichal Schmidt <xschmi00@stud.feec.vutbr.cz>
      53232803
  22. 24 9月, 2005 2 次提交
  23. 14 9月, 2005 1 次提交
  24. 07 9月, 2005 2 次提交
  25. 05 9月, 2005 1 次提交
  26. 02 9月, 2005 2 次提交
  27. 28 7月, 2005 1 次提交
  28. 09 7月, 2005 1 次提交
  29. 27 6月, 2005 2 次提交
    • D
      [PATCH] wireless: char* -> char[] conversion in airo.c · 62595eb9
      Domen Puncer 提交于
      This conversion makes code from line 7101 right:
      	if (copy_to_user(com.data, swversion, sizeof(swversion)))
      
      size output (before, after):
        55416    2228     160   57804    e1cc drivers/net/wireless/airo.o
        55412    2228     160   57800    e1c8 drivers/net/wireless/airo.o
      
      more outputs from Alexey Dobriyan:
      2.95.3:
                 text    data     bss     dec     hex filename
      before    51118    2156     160   53434    d0ba drivers/net/wireless/airo.o
      after     51118    2156     160   53434    d0ba drivers/net/wireless/airo.o
      
      3.3.5-20050130:
      before    46999    2156     160   49315    c0a3 drivers/net/wireless/airo.o
      after     46994    2156     160   49310    c09e drivers/net/wireless/airo.o
      
      4.1.0-20050522:
      before    45555    2220     160   47935    bb3f drivers/net/wireless/airo.o
      after     45550    2220     160   47930    bb3a drivers/net/wireless/airo.o
      Signed-off-by: NDomen Puncer <domen@coderock.org>
      62595eb9
    • P
      [PATCH] fix int vs. pm_message_t confusion in airo · 1cc68ae0
      Pavel Machek 提交于
      Fix int vs. pm_message_t confusion in airo. Should change no code.
      Signed-off-by: NPavel Machek <pavel@suse.cz>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      1cc68ae0