After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 133095 - always reports N/A if multiple devices are configured
always reports N/A if multiple devices are configured
Status: RESOLVED DUPLICATE of bug 119471
Product: gnome-applets
Classification: Other
Component: wireless-applet
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-01-31 22:47 UTC by Christian Marillat
Modified: 2014-10-10 14:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Marillat 2004-01-31 22:47:04 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);
 	}
Comment 1 Vincent Untz 2004-03-14 16:15:56 UTC
Duplicate of bug #119471, which has the same patch.

*** This bug has been marked as a duplicate of 119471 ***
Comment 2 Sebastian 2014-10-10 14:34:49 UTC
This component does not exist anymore so these bugs can be removed from their group.