device/wifi: fix #if check for more-logging

Fixes: ae158bf178
This commit is contained in:
Thomas Haller 2017-02-17 20:32:42 +01:00
parent 5ae3db7515
commit 35d4e8f7a0

View file

@ -448,7 +448,7 @@ periodic_update (NMDeviceWifi *self)
percent = nm_platform_wifi_get_quality (NM_PLATFORM_GET, ifindex);
if (percent >= 0 || ++priv->invalid_strength_counter > 3) {
if (nm_wifi_ap_set_strength (priv->current_ap, (gint8) percent)) {
#if NM_MORE_LOGGING
#ifdef NM_MORE_LOGGING
_ap_dump (self, LOGL_TRACE, priv->current_ap, "updated", 0);
#endif
}