author | benmeyer <benmeyer> | 2002-10-18 18:25:08 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-10-18 18:25:08 (UTC) |
commit | ee1d0ae1ee86bb0373a3526928a4ae17468361c3 (patch) (side-by-side diff) | |
tree | 39c04aa1438f1e323c26bf5116f6bc4939dd6d00 | |
parent | a63b3b36cf4d665b67733e069bfaad8f96388276 (diff) | |
download | opie-ee1d0ae1ee86bb0373a3526928a4ae17468361c3.zip opie-ee1d0ae1ee86bb0373a3526928a4ae17468361c3.tar.gz opie-ee1d0ae1ee86bb0373a3526928a4ae17468361c3.tar.bz2 |
cleanup
-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 @@ -136,17 +136,17 @@ QWidget *WLANModule::information(Interface *i, QTabWidget **tabWidget){ info->modeLabel->setText( QString("%1").arg(iwr.u.mode == IW_MODE_ADHOC ? "Ad-Hoc" : "Managed")); else info->modeLabel->setText("*** Unknown ***"); result = ioctl( fd, SIOCGIWFREQ, &iwr ); 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 char c; QString status; QString name; QFile wfile( PROCNETWIRELESS ); 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 @@ -136,17 +136,17 @@ QWidget *WLANModule::information(Interface *i, QTabWidget **tabWidget){ info->modeLabel->setText( QString("%1").arg(iwr.u.mode == IW_MODE_ADHOC ? "Ad-Hoc" : "Managed")); else info->modeLabel->setText("*** Unknown ***"); result = ioctl( fd, SIOCGIWFREQ, &iwr ); 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 char c; QString status; QString name; QFile wfile( PROCNETWIRELESS ); |