Skip to content
Snippets Groups Projects
Commit 17ecfa9b authored by Bin Meng's avatar Bin Meng Committed by Joe Hershberger
Browse files

net: phy: Test previous phydev->dev against new mac dev


In phy_connect_dev(), if the phy device has an accociated mac device
before, a warning message will be printed. But we should test the
old device against the new one, if they are actually the same one,
don't print the warning message.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 3e1949d7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment