From: Chris Ball Date: Fri, 25 May 2007 16:13:24 +0000 (-0400) Subject: [PATCH] libertas: wakeup both mesh and normal wakeup when getting out of scan X-Git-Tag: v2.6.22-rc5~44^2~2^2~48 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0583e8ef149700ede2aa181509e217c39e565f28;p=linux-2.6 [PATCH] libertas: wakeup both mesh and normal wakeup when getting out of scan The previous patch wakes up the mesh device *instead* of the wlan device when coming out of scan. We need to wake up both of them. Signed-off-by: Chris Ball Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/scan.c b/drivers/net/wireless/libertas/scan.c index 80284e609c..4831750336 100644 --- a/drivers/net/wireless/libertas/scan.c +++ b/drivers/net/wireless/libertas/scan.c @@ -827,6 +827,8 @@ int wlan_scan_networks(wlan_private * priv, wlan_scan_process_results(priv); if (priv->adapter->connect_status == libertas_connected) { + netif_carrier_on(priv->wlan_dev.netdev); + netif_wake_queue(priv->wlan_dev.netdev); netif_carrier_on(priv->mesh_dev); netif_wake_queue(priv->mesh_dev); }