Skip to content
Commit f860413a authored by Justin Chen's avatar Justin Chen Committed by Greg Kroah-Hartman
Browse files

net: usb: ax88179_178a: wol optimizations



[ Upstream commit 50505316 ]

- Check if wol is supported on reset instead of everytime get_wol
is called.
- Save wolopts in private data instead of relying on the HW to save it.
- Defer enabling WoL until suspend instead of enabling it everytime
set_wol is called.

Signed-off-by: default avatarJustin Chen <justinpopo6@gmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: aef05e34 ("net: usb: ax88179_178a: avoid failed operations when device is disconnected")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2964a0de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment