From: Justin Chen <justinpopo6@xxxxxxxxx> v2 Remove unused variables Remove unnecessary memset Power management was partially broken. There were two issues when dropping into a sleep state. 1. Resume was not doing a fully HW restore. Only a partial restore. This lead to a couple things being broken on resume. One of them being tcp rx. 2. wolopt was not being restored properly on resume. Also did some general improvements and clean up to make it easier to fix the issues mentioned above. Justin Chen (5): net: usb: ax88179_178a: remove redundant init code net: usb: ax88179_178a: clean up pm calls net: usb: ax88179_178a: restore state on resume net: usb: ax88179_178a: move priv to driver_priv net: usb: ax88179_178a: wol optimizations drivers/net/usb/ax88179_178a.c | 319 +++++++++++++---------------------------- 1 file changed, 99 insertions(+), 220 deletions(-) -- 2.7.4