-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | noncore/settings/networksettings/mainwindow/mainwindowimp.cpp | 8 |
2 files changed, 6 insertions, 3 deletions
@@ -6,32 +6,33 @@ | |||
6 | * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker) | 6 | * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker) |
7 | * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly) | 7 | * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly) |
8 | * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer) | 8 | * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer) |
9 | 9 | ||
10 | Fixed Bugs | 10 | Fixed Bugs |
11 | ---------- | 11 | ---------- |
12 | * #1476 - Wrong order of application entries in the O-menu (skyhusker) | 12 | * #1476 - Wrong order of application entries in the O-menu (skyhusker) |
13 | * #1535- Missing line break and unnecessary location shown with Today-Calendar plugin (deller) | 13 | * #1535- Missing line break and unnecessary location shown with Today-Calendar plugin (deller) |
14 | * #1565 - crash-fix in odevice.cpp while scanning the distribution table (deller) | 14 | * #1565 - crash-fix in odevice.cpp while scanning the distribution table (deller) |
15 | * #1614 - Make Opie-console start in $HOME instead of / (skyhusker) | 15 | * #1614 - Make Opie-console start in $HOME instead of / (skyhusker) |
16 | * n.a.- always show volume and wireless applet popups inside visible screen (deller) | 16 | * n.a.- always show volume and wireless applet popups inside visible screen (deller) |
17 | * n.a. - scale O-Menu-Applets appropriately (mickeyl) | 17 | * n.a. - scale O-Menu-Applets appropriately (mickeyl) |
18 | * n.a.- libopienet: fix bugs in wireless scanning and setting SSID (skyhusker) | 18 | * n.a.- libopienet: fix bugs in wireless scanning and setting SSID (skyhusker) |
19 | * n.a.- Wellenreiter: relax WE version matching test a bit (mickeyl) | 19 | * n.a.- Wellenreiter: relax WE version matching test a bit (mickeyl) |
20 | * n.a.- scale BluezApplet appropriately and use larger icons (mickeyl) | 20 | * n.a.- scale BluezApplet appropriately and use larger icons (mickeyl) |
21 | * n.a.- memoryapplet: fix crash in memoryapplet on kernels without swap support (seneca cunningham) | 21 | * n.a.- memoryapplet: fix crash in memoryapplet on kernels without swap support (seneca cunningham) |
22 | * n.a. - networksettings: ignore hostap control interfaces wifi* (mickeyl) | ||
22 | 23 | ||
23 | Internal | 24 | Internal |
24 | -------- | 25 | -------- |
25 | * Make BluezApplet use OTaskbarApplet (mickeyl) | 26 | * Make BluezApplet use OTaskbarApplet (mickeyl) |
26 | * Rewrite OFileNotification to use the upcoming inotify interface instead of the deprecated dnotify (mickeyl) | 27 | * Rewrite OFileNotification to use the upcoming inotify interface instead of the deprecated dnotify (mickeyl) |
27 | * libopienet: Skip hostap control interfaces 'wifi' and improve robustness in ONetworkInterface (mickeyl) | 28 | * libopienet: Skip hostap control interfaces 'wifi' and improve robustness in ONetworkInterface (mickeyl) |
28 | 29 | ||
29 | 2005-03-25Opie 1.2.0 | 30 | 2005-03-25Opie 1.2.0 |
30 | 31 | ||
31 | Fixed Bugs | 32 | Fixed Bugs |
32 | ---------- | 33 | ---------- |
33 | * #1613 - AdvancedFM - scale toolbar icons appropriately (drw) | 34 | * #1613 - AdvancedFM - scale toolbar icons appropriately (drw) |
34 | * #1620 - OFileSelector - show the button on press and not on press on hold (alwin) | 35 | * #1620 - OFileSelector - show the button on press and not on press on hold (alwin) |
35 | * #1473 - Opie-Eye - Same as #1620 but we lack a common FileSystem Button class (zecke) | 36 | * #1473 - Opie-Eye - Same as #1620 but we lack a common FileSystem Button class (zecke) |
36 | * n.a. - PackageManager - fix bug where messages show up multiple times in install dialog (drw) | 37 | * n.a. - PackageManager - fix bug where messages show up multiple times in install dialog (drw) |
37 | * n.a.- make qpeglobal.h include qglobal.h (zecke) | 38 | * n.a.- make qpeglobal.h include qglobal.h (zecke) |
diff --git a/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp index 3222e50..a7b0bdc 100644 --- a/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp +++ b/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp | |||
@@ -176,50 +176,52 @@ void MainWindowImp::getAllInterfaces() | |||
176 | QStringList ifaces; | 176 | QStringList ifaces; |
177 | QFile procFile(QString(_PROCNETDEV)); | 177 | QFile procFile(QString(_PROCNETDEV)); |
178 | int result; | 178 | int result; |
179 | Interface *i; | 179 | Interface *i; |
180 | 180 | ||
181 | if (! procFile.exists()) | 181 | if (! procFile.exists()) |
182 | { | 182 | { |
183 | struct ifreq ifrs[100]; | 183 | struct ifreq ifrs[100]; |
184 | struct ifconf ifc; | 184 | struct ifconf ifc; |
185 | ifc.ifc_len = sizeof(ifrs); | 185 | ifc.ifc_len = sizeof(ifrs); |
186 | ifc.ifc_req = ifrs; | 186 | ifc.ifc_req = ifrs; |
187 | result = ioctl(sockfd, SIOCGIFCONF, &ifc); | 187 | result = ioctl(sockfd, SIOCGIFCONF, &ifc); |
188 | 188 | ||
189 | for (unsigned int i = 0; i < ifc.ifc_len / sizeof(struct ifreq); i++) | 189 | for (unsigned int i = 0; i < ifc.ifc_len / sizeof(struct ifreq); i++) |
190 | { | 190 | { |
191 | struct ifreq *pifr = &ifrs[i]; | 191 | struct ifreq *pifr = &ifrs[i]; |
192 | 192 | if ( !QString( pifr->ifr_name ).startsWith( "wifi" ) ) ifaces += pifr->ifr_name; | |
193 | ifaces += pifr->ifr_name; | 193 | else odebug << "ignoring hostap control interface " << pifr->ifr_name << oendl; |
194 | } | 194 | } |
195 | } | 195 | } |
196 | else | 196 | else |
197 | { | 197 | { |
198 | procFile.open(IO_ReadOnly); | 198 | procFile.open(IO_ReadOnly); |
199 | QString line; | 199 | QString line; |
200 | QTextStream procTs(&procFile); | 200 | QTextStream procTs(&procFile); |
201 | int loc = -1; | 201 | int loc = -1; |
202 | 202 | ||
203 | procTs.readLine(); // eat a line | 203 | procTs.readLine(); // eat a line |
204 | procTs.readLine(); // eat a line | 204 | procTs.readLine(); // eat a line |
205 | while((line = procTs.readLine().simplifyWhiteSpace()) != QString::null) | 205 | while((line = procTs.readLine().simplifyWhiteSpace()) != QString::null) |
206 | { | 206 | { |
207 | if((loc = line.find(":")) != -1) | 207 | if((loc = line.find(":")) != -1) |
208 | { | 208 | { |
209 | ifaces += line.left(loc); | 209 | // ignore wifi* (hostap control interfaces) |
210 | if ( !line.left(loc).startsWith( "wifi" ) ) ifaces += line.left(loc); | ||
211 | else odebug << "ignoring hostap control interface " << line.left(loc) << oendl; | ||
210 | } | 212 | } |
211 | } | 213 | } |
212 | } | 214 | } |
213 | 215 | ||
214 | for (QStringList::Iterator it = ifaces.begin(); it != ifaces.end(); ++it) | 216 | for (QStringList::Iterator it = ifaces.begin(); it != ifaces.end(); ++it) |
215 | { | 217 | { |
216 | int flags = 0; | 218 | int flags = 0; |
217 | if ( m_handledIfaces.contains( (*it) ) ) | 219 | if ( m_handledIfaces.contains( (*it) ) ) |
218 | { | 220 | { |
219 | odebug << " " << (*it).latin1() << " is handled by a module" << oendl; | 221 | odebug << " " << (*it).latin1() << " is handled by a module" << oendl; |
220 | continue; | 222 | continue; |
221 | } | 223 | } |
222 | // int family; | 224 | // int family; |
223 | i = NULL; | 225 | i = NULL; |
224 | 226 | ||
225 | strcpy(ifr.ifr_name, (*it).latin1()); | 227 | strcpy(ifr.ifr_name, (*it).latin1()); |