]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ath6kl: fix scan operation while disconnect
authorNaveen Singh <nsingh@atheros.com>
Thu, 21 Apr 2011 20:30:39 +0000 (13:30 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 25 Apr 2011 23:24:24 +0000 (16:24 -0700)
commit3c9d2f6c14ebbfdc97945f8f8c023f1fde86732b
tree95a0c9cbc1f8191972d60558c34c81eac28374a8
parent26e58b517487c30f8a7251a3ec76ec569588cc89
ath6kl: fix scan operation while disconnect

If a scan operation is pending and in between a disconnect
event is received from firmware the scan results never get
sent back to cfg80211. This causes a scan failure and yields
a device/resource busy state upon retries. If a disconnect
event is received and scan is pending return the scan done
to the cfg80211 to enable futher scans to be issued.

Signed-off-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/cfg80211.c