[PATCH v2] staging: rtl8712: Improve suspend/resume functionality.

2016-02-19 Thread Hemmo Nieminen
Fix a driver hang caused by earlier suspend/resume cycles. By handling a ENODEV error during suspend as a real error we eventually end up stopping the whole driver. Fix this by handling the ENODEV error (during suspend) essentially by retrying. Signed-off-by: Hemmo Nieminen --- drivers/staging

[PATCH] staging: rtl8712: Improve suspend/resume functionality.

2016-02-16 Thread Hemmo Nieminen
Fix a driver hang caused by earlier suspend/resume cycles. By handling a ENODEV error during suspend as a real error we eventually end up stopping the whole driver. Fix this by handling the ENODEV error (during suspend) essentially by retrying. Signed-off-by: Hemmo Nieminen --- drivers/staging

[PATCH] staging: rtl8712: Improve suspend/resume functionality.

2015-12-03 Thread Hemmo Nieminen
unable to recover without reloading the module. Signed-off-by: Hemmo Nieminen --- Notes: Tested on x86_64 with RTL8191SU 802.11n WLAN Adapter. drivers/staging/rtl8712/drv_types.h | 1 + drivers/staging/rtl8712/usb_intf.c | 12 drivers/staging/rtl8712/usb_ops_linux.c |