-rw-r--r-- | noncore/applets/wirelessapplet/networkinfo.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/noncore/applets/wirelessapplet/networkinfo.cpp b/noncore/applets/wirelessapplet/networkinfo.cpp index 2274d99..e0c487b 100644 --- a/noncore/applets/wirelessapplet/networkinfo.cpp +++ b/noncore/applets/wirelessapplet/networkinfo.cpp | |||
@@ -198,16 +198,14 @@ bool MWirelessNetworkInterface::updateStatistics() | |||
198 | 198 | ||
199 | wstream >> name >> status >> quality >> c >> signal >> c >> noise; | 199 | wstream >> name >> status >> quality >> c >> signal >> c >> noise; |
200 | 200 | ||
201 | if ( quality > 92 ) | ||
202 | #ifdef MDEBUG | 201 | #ifdef MDEBUG |
202 | if ( quality > 92 ) | ||
203 | qDebug( "WIFIAPPLET: D'oh! Quality %d > estimated max!\n", quality ); | 203 | qDebug( "WIFIAPPLET: D'oh! Quality %d > estimated max!\n", quality ); |
204 | #endif | 204 | |
205 | if ( ( signal > IW_UPPER ) || ( signal < IW_LOWER ) ) | 205 | if ( ( signal > IW_UPPER ) || ( signal < IW_LOWER ) ) |
206 | #ifdef MDEBUG | ||
207 | qDebug( "WIFIAPPLET: Doh! Strength %d > estimated max!\n", signal ); | 206 | qDebug( "WIFIAPPLET: Doh! Strength %d > estimated max!\n", signal ); |
208 | #endif | 207 | |
209 | if ( ( noise > IW_UPPER ) || ( noise < IW_LOWER ) ) | 208 | if ( ( noise > IW_UPPER ) || ( noise < IW_LOWER ) ) |
210 | #ifdef MDEBUG | ||
211 | qDebug( "WIFIAPPLET: Doh! Noise %d > estimated max!\n", noise ); | 209 | qDebug( "WIFIAPPLET: Doh! Noise %d > estimated max!\n", noise ); |
212 | #endif | 210 | #endif |
213 | 211 | ||