--- wlassistant-0.5.6/src/wlassistant.cpp.BAD 2007-01-18 13:07:25.000000000 -0600
+++ wlassistant-0.5.6/src/wlassistant.cpp 2007-01-18 13:09:54.000000000 -0600
@@ -1074,8 +1074,13 @@
QStringList ifList = QStringList();
for (int i = 0; i < c; i++) {
o = ol[i];
- if ( o.find("no wireless extensions")==-1 ) //string not found
- ifList << o.left(o.find(" "));
+ if ( o.find("no wireless extensions")==-1 ) {
+ if ( o.find("Warning:") == -1 ) {
+ QString interface = o.left(o.find(" "));
+ if ( interface.length() > 1 )
+ ifList << interface;
+ }
+ }
}
return ifList;
}