GNOME Bugzilla – Bug 133095
always reports N/A if multiple devices are configured
Last modified: 2014-10-10 14:34:49 UTC
Hi, http://bugs.debian.org/230564 I am using an aironet wireless card. Current drivers configure both /dev/ethX and /dev/wifiX. The wireless-applet has a bug which mistakenly assumes that a machine will only have one interface listed in /proc/net/wireless. In particular, it checks whether or not exactly one interface has been matched and reports no interfaces. This can be fixed with the following patch against the main routine: wireless/wireless-applet.c: --- wireless-applet.c 2004-01-31 17:09:55.000000000 -0500 +++ wireless-applet.c.orig 2004-01-31 16:11:49.000000000 -0500 @@ -281,8 +281,8 @@ if (g_list_length (applet->devices)==1) { wireless_applet_set_device (applet, (char*)applet->devices->data); - } else if (g_list_length (applet->devices)==0) { - wireless_applet_update_state (applet, + } else { + wireless_applet_update_state (applet, applet->device, -1, -1, -1); }
Duplicate of bug #119471, which has the same patch. *** This bug has been marked as a duplicate of 119471 ***
This component does not exist anymore so these bugs can be removed from their group.