summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/wlan/wlanmodule.cpp2
-rw-r--r--noncore/settings/networksettings/wlan/wlanmodule.cpp2
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){
if ( result == 0 )
info->freqLabel->setText(QString("%1").arg((double( iwr.u.freq.m ) * pow( 10, iwr.u.freq.e ) / 1000000000)));
else
- info->freqLabel->setText("0");
+ info->freqLabel->setText("*** Unknown ***");
/*
// 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){
if ( result == 0 )
info->freqLabel->setText(QString("%1").arg((double( iwr.u.freq.m ) * pow( 10, iwr.u.freq.e ) / 1000000000)));
else
- info->freqLabel->setText("0");
+ info->freqLabel->setText("*** Unknown ***");
/*
// gather link quality from /proc/net/wireless