1 --- matchbox-panel-0.9.2/applets/mb-applet-wireless.c.old 2005-04-05 19:55:39.000000000 +0200
2 +++ matchbox-panel-0.9.2/applets/mb-applet-wireless.c 2005-12-17 14:00:01.000000000 +0100
7 - /* mark first found as one to monitor */
8 - Mwd.iface = strdup(ifname);
9 + if(iw_get_range_info(Wfd, ifname, &(WInfo.range)) >= 0)
10 + WInfo.has_range = 1;
12 + if (iw_get_stats(Wfd, ifname,
14 + &(WInfo.range), WInfo.has_range) >= 0)
16 + Mwd.iface = strdup(ifname);
20 + Mwd.iface = "wlan0";