]> git.karo-electronics.de Git - linux-beck.git/commit
staging: ath6kl: Eliminate cfg80211 warnings
authorVipin Mehta <vmehta@atheros.com>
Sun, 20 Feb 2011 15:00:38 +0000 (07:00 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Feb 2011 22:00:14 +0000 (14:00 -0800)
commit5caf8fca2da11e368a2284f4c4f5c2cbbe1b3ec8
tree9ef670b8efc65a641e9a2c92cd32a2cda2e64e43
parent5b6567ee84d6e8f7015eaa7d7c4926b4fd81746e
staging: ath6kl: Eliminate cfg80211 warnings

Cancel the pending scan operation once the interface is going down to
avoid warnings from the cfg80211 module. Once the interface is down,
cfg80211 checks for any pending scan requests and dumps a warning if it
finds one. It expects the driver to abort any ongoing scan operation
once the driver detects that the interface is going down.

Signed-off-by: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/ar6000_drv.c