rt2x00: rt2800lib - code cleanup.
Move RT3290 BBP initialization sequence (part) to the right place in the code. This is just a code style change, no functional changes. Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
		
							parent
							
								
									d961e447a6
								
							
						
					
					
						commit
						59d1287428
					
				| @ -3535,6 +3535,11 @@ static int rt2800_init_bbp(struct rt2x00_dev *rt2x00dev) | ||||
| 	} else if (rt2800_is_305x_soc(rt2x00dev)) { | ||||
| 		rt2800_bbp_write(rt2x00dev, 78, 0x0e); | ||||
| 		rt2800_bbp_write(rt2x00dev, 80, 0x08); | ||||
| 	} else if (rt2x00_rt(rt2x00dev, RT3290)) { | ||||
| 		rt2800_bbp_write(rt2x00dev, 74, 0x0b); | ||||
| 		rt2800_bbp_write(rt2x00dev, 79, 0x18); | ||||
| 		rt2800_bbp_write(rt2x00dev, 80, 0x09); | ||||
| 		rt2800_bbp_write(rt2x00dev, 81, 0x33); | ||||
| 	} else if (rt2x00_rt(rt2x00dev, RT3352)) { | ||||
| 		rt2800_bbp_write(rt2x00dev, 78, 0x0e); | ||||
| 		rt2800_bbp_write(rt2x00dev, 80, 0x08); | ||||
| @ -3543,13 +3548,6 @@ static int rt2800_init_bbp(struct rt2x00_dev *rt2x00dev) | ||||
| 		rt2800_bbp_write(rt2x00dev, 81, 0x37); | ||||
| 	} | ||||
| 
 | ||||
| 	if (rt2x00_rt(rt2x00dev, RT3290)) { | ||||
| 		rt2800_bbp_write(rt2x00dev, 74, 0x0b); | ||||
| 		rt2800_bbp_write(rt2x00dev, 79, 0x18); | ||||
| 		rt2800_bbp_write(rt2x00dev, 80, 0x09); | ||||
| 		rt2800_bbp_write(rt2x00dev, 81, 0x33); | ||||
| 	} | ||||
| 
 | ||||
| 	rt2800_bbp_write(rt2x00dev, 82, 0x62); | ||||
| 	if (rt2x00_rt(rt2x00dev, RT3290) || | ||||
| 	    rt2x00_rt(rt2x00dev, RT5390) || | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user