diff mbox

staging: ath6kl: Eliminate cfg80211 warnings

Message ID 1298214038-5303-1-git-send-email-vmehta@atheros.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Vipin Mehta Feb. 20, 2011, 3 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/staging/ath6kl/os/linux/ar6000_drv.c b/drivers/staging/ath6kl/os/linux/ar6000_drv.c
index a659f70..4d76489 100644
--- a/drivers/staging/ath6kl/os/linux/ar6000_drv.c
+++ b/drivers/staging/ath6kl/os/linux/ar6000_drv.c
@@ -2338,6 +2338,7 @@  ar6000_close(struct net_device *dev)
         }
         ar->arWlanState = WLAN_DISABLED;
     }
+	ar6k_cfg80211_scanComplete_event(ar, A_ECANCELED);
 #endif /* ATH6K_CONFIG_CFG80211 */
 
     return 0;