NetworkManager r4184 - in trunk: . src
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r4184 - in trunk: . src
- Date: Wed, 15 Oct 2008 22:47:38 +0000 (UTC)
Author: dcbw
Date: Wed Oct 15 22:47:38 2008
New Revision: 4184
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4184&view=rev
Log:
2008-10-15 Dan Williams <dcbw redhat com>
* src/nm-device-wifi.c
- (wireless_qual_to_percent): fix quality calculation in a fallback case
(Johannes Berg)
Modified:
trunk/ChangeLog
trunk/src/nm-device-wifi.c
Modified: trunk/src/nm-device-wifi.c
==============================================================================
--- trunk/src/nm-device-wifi.c (original)
+++ trunk/src/nm-device-wifi.c Wed Oct 15 22:47:38 2008
@@ -1350,7 +1350,7 @@
level = CLAMP (level, FALLBACK_NOISE_FLOOR_DBM, FALLBACK_SIGNAL_MAX_DBM);
- if ((qual->noise > 0) && (!qual->updated & IW_QUAL_NOISE_INVALID))
+ if ((qual->noise > 0) && !(qual->updated & IW_QUAL_NOISE_INVALID))
noise = qual->noise - 0x100;
else if ((max_qual->noise > 0) && !(max_qual->updated & IW_QUAL_NOISE_INVALID))
noise = max_qual->noise - 0x100;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]