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 <cjb@laptop.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
wlan_scan_process_results(priv);
if (priv->adapter->connect_status == libertas_connected) {
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);
}
netif_carrier_on(priv->mesh_dev);
netif_wake_queue(priv->mesh_dev);
}