mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			348 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			348 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- a/net80211/ieee80211_wireless.c
 | 
						|
+++ b/net80211/ieee80211_wireless.c
 | 
						|
@@ -3723,6 +3723,7 @@ ieee80211_ioctl_setmlme(struct net_devic
 | 
						|
 		if (vap->iv_opmode == IEEE80211_M_STA) {
 | 
						|
 			struct scanlookup lookup;
 | 
						|
 
 | 
						|
+			preempt_scan(dev, 100, 100);
 | 
						|
 			lookup.se = NULL;
 | 
						|
 			lookup.mac = mlme->im_macaddr;
 | 
						|
 			/* XXX use revised api w/ explicit ssid */
 |