-rw-r--r-- | noncore/net/networksetup/wlan/wlanmodule.cpp | 2 | ||||
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanmodule.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/networksetup/wlan/wlanmodule.cpp b/noncore/net/networksetup/wlan/wlanmodule.cpp index 8d25d99..f12e608 100644 --- a/noncore/net/networksetup/wlan/wlanmodule.cpp +++ b/noncore/net/networksetup/wlan/wlanmodule.cpp | |||
@@ -141,7 +141,7 @@ QWidget *WLANModule::information(Interface *i, QTabWidget **tabWidget){ | |||
141 | if ( result == 0 ) | 141 | if ( result == 0 ) |
142 | info->freqLabel->setText(QString("%1").arg((double( iwr.u.freq.m ) * pow( 10, iwr.u.freq.e ) / 1000000000))); | 142 | info->freqLabel->setText(QString("%1").arg((double( iwr.u.freq.m ) * pow( 10, iwr.u.freq.e ) / 1000000000))); |
143 | else | 143 | else |
144 | info->freqLabel->setText("0"); | 144 | info->freqLabel->setText("*** Unknown ***"); |
145 | 145 | ||
146 | /* | 146 | /* |
147 | // gather link quality from /proc/net/wireless | 147 | // gather link quality from /proc/net/wireless |
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp index 8d25d99..f12e608 100644 --- a/noncore/settings/networksettings/wlan/wlanmodule.cpp +++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp | |||
@@ -141,7 +141,7 @@ QWidget *WLANModule::information(Interface *i, QTabWidget **tabWidget){ | |||
141 | if ( result == 0 ) | 141 | if ( result == 0 ) |
142 | info->freqLabel->setText(QString("%1").arg((double( iwr.u.freq.m ) * pow( 10, iwr.u.freq.e ) / 1000000000))); | 142 | info->freqLabel->setText(QString("%1").arg((double( iwr.u.freq.m ) * pow( 10, iwr.u.freq.e ) / 1000000000))); |
143 | else | 143 | else |
144 | info->freqLabel->setText("0"); | 144 | info->freqLabel->setText("*** Unknown ***"); |
145 | 145 | ||
146 | /* | 146 | /* |
147 | // gather link quality from /proc/net/wireless | 147 | // gather link quality from /proc/net/wireless |