mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 14:34:27 -05:00 
			
		
		
		
	Based on patch by Bryan Forbes <bryan@reigndropsfall.net> Also update mt76 to update for API changes Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44655
		
			
				
	
	
		
			20 lines
		
	
	
		
			602 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			602 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
From: Zefir Kurtisi <zefir.kurtisi@neratec.com>
 | 
						|
Date: Tue, 10 Mar 2015 17:49:31 +0100
 | 
						|
Subject: [PATCH] ath9k: allow 40MHz radar detection width
 | 
						|
 | 
						|
Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
 | 
						|
---
 | 
						|
 | 
						|
--- a/drivers/net/wireless/ath/ath9k/init.c
 | 
						|
+++ b/drivers/net/wireless/ath/ath9k/init.c
 | 
						|
@@ -763,7 +763,8 @@ static const struct ieee80211_iface_comb
 | 
						|
 		.num_different_channels = 1,
 | 
						|
 		.beacon_int_infra_match = true,
 | 
						|
 		.radar_detect_widths =	BIT(NL80211_CHAN_WIDTH_20_NOHT) |
 | 
						|
-					BIT(NL80211_CHAN_WIDTH_20),
 | 
						|
+					BIT(NL80211_CHAN_WIDTH_20) |
 | 
						|
+					BIT(NL80211_CHAN_WIDTH_40),
 | 
						|
 	}
 | 
						|
 #endif
 | 
						|
 };
 |