ramips: fix USW-Flex reversed switch-port order
Switch port order was reversed due to reading the internal labling (which mismatches the one on the case). Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
		| @@ -65,12 +65,12 @@ | |||||||
| 	ports { | 	ports { | ||||||
| 		port@0 { | 		port@0 { | ||||||
| 			status = "okay"; | 			status = "okay"; | ||||||
| 			label = "lan1"; | 			label = "lan5"; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		port@1 { | 		port@1 { | ||||||
| 			status = "okay"; | 			status = "okay"; | ||||||
| 			label = "lan2"; | 			label = "lan4"; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		port@2 { | 		port@2 { | ||||||
| @@ -80,12 +80,12 @@ | |||||||
|  |  | ||||||
| 		port@3 { | 		port@3 { | ||||||
| 			status = "okay"; | 			status = "okay"; | ||||||
| 			label = "lan4"; | 			label = "lan2"; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		port@4 { | 		port@4 { | ||||||
| 			status = "okay"; | 			status = "okay"; | ||||||
| 			label = "lan5"; | 			label = "lan1"; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 David Bauer
					David Bauer