1 Index: NetworkManager-0.7.0/src/nm-device-wifi.c
2 ===================================================================
3 --- NetworkManager-0.7.0.orig/src/nm-device-wifi.c
4 +++ NetworkManager-0.7.0/src/nm-device-wifi.c
5 @@ -364,6 +364,15 @@ real_get_generic_capabilities (NMDevice
6 const char *iface = nm_device_get_iface (dev);
9 + /* The cx3110 driver has to be UP in order to get its capabilities. */
10 + gboolean no_firmware = FALSE;
11 + const char *driver = nm_device_get_driver (dev);
12 + if (driver && !strcmp ("wlan-omap", driver) && !nm_system_device_is_up (dev)) {
13 + if (!nm_device_hw_bring_up (dev, TRUE, &no_firmware))
14 + nm_warning ("(%s): couldn't bring up interface to get capabilities.",
18 memset (&range, 0, sizeof (struct iw_range));
19 success = wireless_get_range (NM_DEVICE_WIFI (dev), &range, &response_len);