Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d9ad2f5df89c66b5eae6ac5aaabe62508baba4ef
Commit: d9ad2f5df89c66b5eae6ac5aaabe62508baba4ef
Parent: aeea0ab45ae3d761064ca926863bb41f0ad167ce
Author: Dan Williams <[EMAIL PROTECTED]>
AuthorDate: Fri May 25 22:38:41 2007 -0400
Committer: John W. Linville <[EMAIL PROTECTED]>
CommitDate: Mon Jun 11 14:28:44 2007 -0400
[PATCH] libertas: send SIOCGIWSCAN event after partial scans too
Any time the driver gets new scan results, even from partial scans,
it should send the scan event to userspace.
Signed-off-by: Dan Williams <[EMAIL PROTECTED]>
Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
drivers/net/wireless/libertas/scan.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/libertas/scan.c
b/drivers/net/wireless/libertas/scan.c
index 83b1612..ec16cd0 100644
--- a/drivers/net/wireless/libertas/scan.c
+++ b/drivers/net/wireless/libertas/scan.c
@@ -707,19 +707,19 @@ static int wlan_scan_channel_list(wlan_private * priv,
ret = libertas_prepare_and_send_command(priv, cmd_802_11_scan,
0,
0, 0, pscancfgout);
if (scanned >= 2 && !full_scan) {
- priv->adapter->last_scanned_channel =
ptmpchan->channumber;
ret = 0;
goto done;
}
scanned = 0;
}
+done:
priv->adapter->last_scanned_channel = ptmpchan->channumber;
+ /* Tell userspace the scan table has been updated */
memset(&wrqu, 0, sizeof(union iwreq_data));
wireless_send_event(priv->dev, SIOCGIWSCAN, &wrqu, NULL);
-done:
lbs_deb_leave_args(LBS_DEB_SCAN, "ret %d", ret);
return ret;
}
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html