mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 04:57:25 +01:00 
			
		
		
		
	monitor: Don't dump survey results with noscan
Survey is used after each scan, creating quite a bit of spam. Silence survey results if noscan is set.
This commit is contained in:
		
							parent
							
								
									e565b75032
								
							
						
					
					
						commit
						5118f08d79
					
				| @ -7254,8 +7254,10 @@ static void print_message(struct nlmon *nlmon, const struct timeval *tv, | ||||
| 	if (nlmon->nowiphy && (cmd == NL80211_CMD_NEW_WIPHY)) | ||||
| 		return; | ||||
| 
 | ||||
| 	if (nlmon->noscan && ((cmd == NL80211_CMD_NEW_SCAN_RESULTS) || | ||||
| 			(cmd == NL80211_CMD_TRIGGER_SCAN))) | ||||
| 	if (nlmon->noscan && L_IN_SET(cmd, NL80211_CMD_NEW_SCAN_RESULTS, | ||||
| 					NL80211_CMD_NEW_SURVEY_RESULTS, | ||||
| 					NL80211_CMD_TRIGGER_SCAN, | ||||
| 					NL80211_CMD_GET_SURVEY)) | ||||
| 		return; | ||||
| 
 | ||||
| 	switch (type) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Denis Kenzior
						Denis Kenzior