Skip to content

Commit

Permalink
[PATCH] libertas: wakeup both mesh and normal wakeup when getting out…
Browse files Browse the repository at this point in the history
… 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 <cjb@laptop.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Chris Ball authored and John W. Linville committed Jun 11, 2007
1 parent 0601e7e commit 0583e8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/libertas/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0583e8e

Please sign in to comment.