diff options
author | David S. Miller <davem@davemloft.net> | 2011-11-04 22:14:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-04 22:14:34 +0100 |
commit | 39b02648d251dbfa27b576d55eeab4cc62228d86 (patch) | |
tree | c442c1edb4242667d65340c20adee7da7afb66c2 /drivers/net/wireless/libertas/main.c | |
parent | Merge branch 'for-linus' of git://github.com/cmetcalf-tilera/linux-tile (diff) | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff) | |
download | linux-39b02648d251dbfa27b576d55eeab4cc62228d86.tar.xz linux-39b02648d251dbfa27b576d55eeab4cc62228d86.zip |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index b03779bcd547..39a6a7a40244 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c @@ -255,10 +255,8 @@ static int lbs_eth_stop(struct net_device *dev) lbs_update_mcast(priv); cancel_delayed_work_sync(&priv->scan_work); - if (priv->scan_req) { - cfg80211_scan_done(priv->scan_req, false); - priv->scan_req = NULL; - } + if (priv->scan_req) + lbs_scan_done(priv); netif_carrier_off(priv->dev); |