mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	ath9k: fix calibration on 5 ghz
SVN-Revision: 28110
This commit is contained in:
		
							parent
							
								
									8643ea587a
								
							
						
					
					
						commit
						01baf9084f
					
				
							
								
								
									
										12
									
								
								package/mac80211/patches/590-ath9k_fix_5ghz_adc_cal.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								package/mac80211/patches/590-ath9k_fix_5ghz_adc_cal.patch
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					--- a/drivers/net/wireless/ath/ath9k/ar9002_calib.c
 | 
				
			||||||
 | 
					+++ b/drivers/net/wireless/ath/ath9k/ar9002_calib.c
 | 
				
			||||||
 | 
					@@ -41,7 +41,8 @@ static bool ar9002_hw_is_cal_supported(s
 | 
				
			||||||
 | 
					 	case ADC_DC_CAL:
 | 
				
			||||||
 | 
					 		/* Run ADC Gain Cal for non-CCK & non 2GHz-HT20 only */
 | 
				
			||||||
 | 
					 		if (!IS_CHAN_B(chan) &&
 | 
				
			||||||
 | 
					-		    !(IS_CHAN_2GHZ(chan) && IS_CHAN_HT20(chan)))
 | 
				
			||||||
 | 
					+		    !((IS_CHAN_2GHZ(chan) || IS_CHAN_A_FAST_CLOCK(ah, chan)) &&
 | 
				
			||||||
 | 
					+		      IS_CHAN_HT20(chan)))
 | 
				
			||||||
 | 
					 			supported = true;
 | 
				
			||||||
 | 
					 		break;
 | 
				
			||||||
 | 
					 	}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user