summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings
authorbenmeyer <benmeyer>2002-10-18 18:25:08 (UTC)
committer benmeyer <benmeyer>2002-10-18 18:25:08 (UTC)
commitee1d0ae1ee86bb0373a3526928a4ae17468361c3 (patch) (unidiff)
tree39c04aa1438f1e323c26bf5116f6bc4939dd6d00 /noncore/settings/networksettings
parenta63b3b36cf4d665b67733e069bfaad8f96388276 (diff)
downloadopie-ee1d0ae1ee86bb0373a3526928a4ae17468361c3.zip
opie-ee1d0ae1ee86bb0373a3526928a4ae17468361c3.tar.gz
opie-ee1d0ae1ee86bb0373a3526928a4ae17468361c3.tar.bz2
cleanup
Diffstat (limited to 'noncore/settings/networksettings') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/wlanmodule.cpp2
1 files changed, 1 insertions, 1 deletions
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
@@ -138,13 +138,13 @@ QWidget *WLANModule::information(Interface *i, QTabWidget **tabWidget){
138 info->modeLabel->setText("*** Unknown ***"); 138 info->modeLabel->setText("*** Unknown ***");
139 139
140 result = ioctl( fd, SIOCGIWFREQ, &iwr ); 140 result = ioctl( fd, SIOCGIWFREQ, &iwr );
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
148 148
149 char c; 149 char c;
150 QString status; 150 QString status;