Prechádzať zdrojové kódy

Merge "qcacld-3.0: Rate limit NAN error log messages" into wlan-cld3.driver.lnx.2.0

CNSS_WLAN Service 4 rokov pred
rodič
commit
c9144404c7

+ 1 - 1
core/hdd/src/wlan_hdd_nan.c

@@ -82,7 +82,7 @@ static int __wlan_hdd_cfg80211_nan_ext_request(struct wiphy *wiphy,
 	}
 
 	if (!wlan_hdd_nan_is_supported(hdd_ctx)) {
-		hdd_debug("NAN is not supported");
+		hdd_debug_rl("NAN is not supported");
 		return -EPERM;
 	}
 

+ 1 - 1
core/hdd/src/wlan_hdd_nan_datapath.c

@@ -413,7 +413,7 @@ static int __wlan_hdd_cfg80211_process_ndp_cmd(struct wiphy *wiphy,
 	}
 
 	if (!WLAN_HDD_IS_NDP_ENABLED(hdd_ctx)) {
-		hdd_debug("NAN datapath is not enabled");
+		hdd_debug_rl("NAN datapath is not enabled");
 		return -EPERM;
 	}