NetworkManager r3233 - branches/NETWORKMANAGER_0_6_0_RELEASE/src



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

Log:
Log driver scan capabilities

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

Modified: branches/NETWORKMANAGER_0_6_0_RELEASE/src/nm-device-802-11-wireless.c
==============================================================================
--- branches/NETWORKMANAGER_0_6_0_RELEASE/src/nm-device-802-11-wireless.c	(original)
+++ branches/NETWORKMANAGER_0_6_0_RELEASE/src/nm-device-802-11-wireless.c	Thu Jan 10 23:29:53 2008
@@ -468,8 +468,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) {
 				self->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 */
 			self->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]