OSDN Git Service

Do not log if NL80211_FREQUENCY_ATTR_FREQ is missing
authorNingyuan Wang <nywang@google.com>
Thu, 2 Mar 2017 18:37:21 +0000 (10:37 -0800)
committerNingyuan Wang <nywang@google.com>
Thu, 2 Mar 2017 18:37:21 +0000 (10:37 -0800)
Bug: None
Test: compile
Change-Id: I2648883013ceb6daa37f13303bc704478c9e9222

net/netlink_utils.cpp

index 459f22b..af0fee6 100644 (file)
@@ -301,7 +301,7 @@ bool NetlinkUtils::ParseBandInfo(const NL80211Packet* const packet,
       uint32_t frequency_value;
       if (!freq.GetAttributeValue(NL80211_FREQUENCY_ATTR_FREQ,
                                   &frequency_value)) {
-        LOG(ERROR) << "Failed to get NL80211_FREQUENCY_ATTR_FREQ";
+        LOG(DEBUG) << "Failed to get NL80211_FREQUENCY_ATTR_FREQ";
         continue;
       }
       // Channel is disabled in current regulatory domain.