mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 15:00:10 +01:00
Fix debug code in nm_wireless_qual_to_percent() to actually compile
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@535 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
c1979229b6
commit
5ea536fa14
1 changed files with 2 additions and 1 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include "NetworkManagerWireless.h"
|
||||
#include "NetworkManagerPolicy.h"
|
||||
#include "NetworkManagerUtils.h"
|
||||
#include "utils/nm-utils.h"
|
||||
|
||||
/*
|
||||
* nm_wireless_64bit_ascii_to_hex
|
||||
|
|
@ -215,7 +216,7 @@ nm_debug ("QL: qual %d/%u/0x%X, level %d/%u/0x%X, noise %d/%u/0x%X ** MAX: qual
|
|||
percent = level_percent;
|
||||
|
||||
#if IW_QUAL_DEBUG
|
||||
nm_debug ("QL: Final quality %% is %d (%d).", percent, CLAMP (percent, 0, 100));
|
||||
nm_debug ("QL: Final quality percent is %d (%d).", percent, CLAMP (percent, 0, 100));
|
||||
#endif
|
||||
return (CLAMP (percent, 0, 100));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue