1. 29 Jun, 2011 1 commit
  2. 19 May, 2011 1 commit
  3. 14 Apr, 2011 1 commit
    • John W. Linville's avatar
      ath9k: avoid using trinary operator w/ TX_STAT_INC · dfa8fc69
      John W. Linville authored
      
      
      Otherwise, you get this:
      
        CC [M]  drivers/net/wireless/ath/ath9k/hif_usb.o
      drivers/net/wireless/ath/ath9k/hif_usb.c: In function ‘ath9k_skb_queue_complete’:
      drivers/net/wireless/ath/ath9k/hif_usb.c:230:12: error: expected expression before ‘do’
      make[2]: *** [drivers/net/wireless/ath/ath9k/hif_usb.o] Error 1
      make[1]: *** [drivers/net/wireless/ath/ath9k] Error 2
      make: *** [drivers/net/wireless/ath/] Error 2
      
      The TX_STAT_INC macro should probably be changed to accomodate such
      usage, although using a trinary operator in place of an if-else seems
      questionable to me anyway.
      
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      Acked-by: default avatarSujith Manoharan <Sujith.Manoharan@Atheros.com>
      dfa8fc69
  4. 13 Apr, 2011 8 commits
  5. 12 Apr, 2011 1 commit
  6. 28 Feb, 2011 1 commit
  7. 23 Feb, 2011 2 commits
  8. 04 Jan, 2011 1 commit
  9. 22 Dec, 2010 1 commit
  10. 13 Dec, 2010 1 commit
  11. 08 Dec, 2010 1 commit
  12. 07 Dec, 2010 2 commits
    • Sujith Manoharan's avatar
      ath9k_htc: Fix panic on FW download failure · caa0a99a
      Sujith Manoharan authored
      
      
      Use the correct error condition exit in case firmware download
      fails for some reason. Not doing so results in a panic:
      
      usb 1-3: ath9k_htc: Transferred FW: ar9271.fw, size: 51280
      usb 1-3: ath9k_htc: Firmware - ar9271.fw download failed
      usb 1-3: ath9k_htc: Target is unresponsive
      Failed to initialize the device
      INFO: trying to register non-static key.
      the code is fine but needs lockdep annotation.
      turning off the locking correctness validator.
      Pid: 2823, comm: insmod Tainted: G        W   2.6.37-rc4-wl #11
      Call Trace:
      [<ffffffff81090d7e>] __lock_acquire+0xe3e/0x1d00
      [<ffffffff813a9f14>] ? restore_args+0x0/0x30
      [<ffffffff81058af1>] ? vprintk+0x321/0x500
      [<ffffffff81092290>] lock_acquire+0xa0/0x190
      [<ffffffffa02a0eac>] ? usb_kill_anchored_urbs+0x1c/0x80 [usbcore]
      [<ffffffff813a8ea8>] _raw_spin_lock_irq+0x48/0x60
      [<ffffffffa02a0eac>] ? usb_kill_anchored_urbs+0x1c/0x80 [usbcore]
      [<ffffffff813a53fd>] ? printk+0x3c/0x3f
      [<ffffffffa02a0eac>] usb_kill_anchored_urbs+0x1c/0x80 [usbcore]
      [<ffffffffa0055388>] ath9k_hif_usb_dealloc_urbs+0x18/0x40 [ath9k_htc]
      [<ffffffffa00557d7>] ath9k_hif_usb_probe+0x227/0x3d0 [ath9k_htc]
      [<ffffffffa02a56ac>] usb_probe_interface+0x10c/0x210 [usbcore]
      [<ffffffff812ae826>] driver_probe_device+0x96/0x1c0
      [<ffffffff812ae9f3>] __driver_attach+0xa3/0xb0
      [<ffffffff812ae950>] ? __driver_attach+0x0/0xb0
      [<ffffffff812ad6ae>] bus_for_each_dev+0x5e/0x90
      [<ffffffff812ae4c9>] driver_attach+0x19/0x20
      [<ffffffff812ae038>] bus_add_driver+0x168/0x320
      [<ffffffff812aec71>] driver_register+0x71/0x140
      [<ffffffff811fc338>] ? __raw_spin_lock_init+0x38/0x70
      [<ffffffffa02a438c>] usb_register_driver+0xdc/0x190 [usbcore]
      [<ffffffffa0063000>] ? ath9k_htc_init+0x0/0x4f [ath9k_htc]
      [<ffffffffa005599e>] ath9k_hif_usb_init+0x1e/0x20 [ath9k_htc]
      [<ffffffffa006302b>] ath9k_htc_init+0x2b/0x4f [ath9k_htc]
      [<ffffffff8100212f>] do_one_initcall+0x3f/0x180
      [<ffffffff8109ef9b>] sys_init_module+0xbb/0x200
      [<ffffffff8100bf52>] system_call_fastpath+0x16/0x1b
      
      Signed-off-by: default avatarSujith Manoharan <Sujith.Manoharan@atheros.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      caa0a99a
    • Sujith Manoharan's avatar
      ath9k_htc: Cleanup device identification · 0b5ead91
      Sujith Manoharan authored
      
      
      ath.ko is a common module shared between ath5k, ar9170usb, ath9k and ath9k_htc.
      Adding driver specific data to the shared structure would impact all the
      drivers. Handling USB device recognition for devices specific to ath9k_htc
      can be handled within the driver itself.
      
      Also, AR7010 refers to the processor used in both AR9280/AR9287 based
      devices. Rename the device enumerations accordingly.
      
      While at it, check properly for the bus type when choosing the EEPROM
      base address for UB95.
      
      Signed-off-by: default avatarSujith Manoharan <Sujith.Manoharan@atheros.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      0b5ead91
  13. 02 Dec, 2010 2 commits
  14. 24 Nov, 2010 2 commits
  15. 16 Nov, 2010 2 commits
  16. 08 Nov, 2010 2 commits
  17. 27 Oct, 2010 1 commit
  18. 16 Sep, 2010 1 commit
  19. 14 Sep, 2010 1 commit
  20. 24 Aug, 2010 1 commit
  21. 13 Aug, 2010 1 commit
  22. 07 Jul, 2010 1 commit
  23. 23 Jun, 2010 1 commit
  24. 18 Jun, 2010 1 commit
  25. 04 Jun, 2010 2 commits
  26. 02 Jun, 2010 1 commit