NetworkManager r3232 - trunk/src



Author: dcbw
Date: Thu Jan 10 23:28:19 2008
New Revision: 3232
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3232&view=rev

Log:
Log driver scan capabilities

Modified:
   trunk/src/nm-device-802-11-wireless.c

Modified: trunk/src/nm-device-802-11-wireless.c
==============================================================================
--- trunk/src/nm-device-802-11-wireless.c	(original)
+++ trunk/src/nm-device-802-11-wireless.c	Thu Jan 10 23:28:19 2008
@@ -451,8 +451,16 @@
 	 * to the custom structure.
 	 */
 	scan_capa_range = (struct iw_range_with_scan_capa *) ⦥
-	if (scan_capa_range->scan_capa & NM_IW_SCAN_CAPA_ESSID)
+	if (scan_capa_range->scan_capa & NM_IW_SCAN_CAPA_ESSID) {
 		priv->has_scan_capa_ssid = TRUE;
+		nm_info ("%s: driver supports SSID scans (scan_capa 0x%02X).",
+		         nm_device_get_iface (NM_DEVICE (self)),
+		         scan_capa_range->scan_capa);
+	} else {
+		nm_info ("%s: driver does not support SSID scans (scan_capa 0x%02X).",
+		         nm_device_get_iface (NM_DEVICE (self)),
+		         scan_capa_range->scan_capa);
+	}
 
 	/* 802.11 wireless-specific capabilities */
 	priv->capabilities = get_wireless_capabilities (self, &range, wrq.u.data.length);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]