Commit a9b24b35 authored by Daniel Braunwarth's avatar Daniel Braunwarth Committed by Jakub Kicinski
Browse files

net: phy: realtek: add error handling to rtl8211f_get_wol



We should check if the WOL settings was successfully read from the PHY.

In case this fails we cannot just use the error code and proceed.

Signed-off-by: default avatarDaniel Braunwarth <daniel.braunwarth@kuka.com>
Reported-by: default avatarJon Hunter <jonathanh@nvidia.com>
Closes: https://lore.kernel.org/baaa083b-9a69-460f-ab35-2a7cb3246ffd@nvidia.com


Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250624-realtek_fixes-v1-1-02a0b7c369bc@kuka.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent f6fa45d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment