Bug 50441

Summary: [BISECTED]ath9k_htc-based adapter unfunctioning after commit ceb26a6013
Product: Drivers Reporter: Corey Richardson (corey)
Component: network-wirelessAssignee: drivers_network-wireless (drivers_network-wireless)
Status: CLOSED CODE_FIX    
Severity: normal CC: alan, linville, shafi.wireless, sujith
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.7 and newer Subsystem:
Regression: Yes Bisected commit-id:
Attachments: complete dmesg
what is logged to dmesg when unplugging adapter
strace of 'ip link' when it hangs
kernel .config

Description Corey Richardson 2012-11-12 21:45:56 UTC
Created attachment 86201 [details]
complete dmesg

I was giving 3.7-rc4 a whirl when I discovered my wireless adapter [0] wasn't
working: the LED didn't light up. Went and ran 'ip link' and it just hung there.
Tried a few other things and discovered that sudo was broken too. With
strace I found that they were hanging in sendto().

If I then unplug the adapter, everything comes out of the hang.

Bisected and found that commit ceb26a6013b962b82f644189ea29d802490fc8fc is
to blame.

Attached is my .config,. The complete dmesg is attached, as well as
dmesg_disconnect which is what gets spat out on disconnect of the device.
strace is an strace of 'ip link'.

I feel like I haven't given enough information; anything else needed?

[0] - http://support.netgear.com/product/WNA1100
Comment 1 Corey Richardson 2012-11-12 21:46:50 UTC
Created attachment 86211 [details]
what is logged to dmesg when unplugging adapter
Comment 2 Corey Richardson 2012-11-12 21:47:16 UTC
Created attachment 86221 [details]
strace of 'ip link' when it hangs
Comment 3 Corey Richardson 2012-11-12 21:47:39 UTC
Created attachment 86231 [details]
kernel .config
Comment 4 Sujith 2012-12-25 14:36:32 UTC
Should be fixed by this commit:

commit da8fb123b041e487d28f54d3a77a15139cb9e3b9
Author: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Date:   Sat Nov 17 21:20:50 2012 +0530

    ath9k_hw: Fix regression in device reset
    
    Commit "ath9k: improve suspend/resume reliability" broke ath9k_htc
    and bringing up the device would hang indefinitely. Fix this.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>