WIFI-14849 When device is booting,it causes lan/wan ports bridge toge… #884
+21
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When the device is booting, LAN/WAN ports will be in bridge state for a while, it will cause clients on the LAN side getting IP address from WAN side's DHCP server. It's wrong behavior. This PR is used for fixing this issue.
This situation usually occurs when device uses IPQ5018+QCA8337 switch chip.
I change that mdio driver bring up from kernel to module autoload and seprate lan/wan port to different group in dts file.