Ver Fonte

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

CNSS_WLAN Service há 4 anos atrás
pai
commit
c9144404c7
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      core/hdd/src/wlan_hdd_nan.c
  2. 1 1
      core/hdd/src/wlan_hdd_nan_datapath.c

+ 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;
 	}