Re: [PATCH 2/2] rtlwifi: Fix incorrect return from rtl_ps_enable_nic()

2014-02-06 Thread Larry Finger
On 02/01/2014 12:11 AM, Olivier Langlois wrote: rtl_ps_enable_nic() is called from loops that will loop until this function returns true or a maximum number of retries is performed. hw_init() returns non-zero on error. In that situation return false to restore the original design intent to

Re: [PATCH 2/2] rtlwifi: Fix incorrect return from rtl_ps_enable_nic()

2014-02-06 Thread Larry Finger
On 02/01/2014 12:11 AM, Olivier Langlois wrote: rtl_ps_enable_nic() is called from loops that will loop until this function returns true or a maximum number of retries is performed. hw_init() returns non-zero on error. In that situation return false to restore the original design intent to

[PATCH 2/2] rtlwifi: Fix incorrect return from rtl_ps_enable_nic()

2014-01-31 Thread Olivier Langlois
rtl_ps_enable_nic() is called from loops that will loop until this function returns true or a maximum number of retries is performed. hw_init() returns non-zero on error. In that situation return false to restore the original design intent to retry hw init when it fails. Signed-off-by: Olivier

[PATCH 2/2] rtlwifi: Fix incorrect return from rtl_ps_enable_nic()

2014-01-31 Thread Olivier Langlois
rtl_ps_enable_nic() is called from loops that will loop until this function returns true or a maximum number of retries is performed. hw_init() returns non-zero on error. In that situation return false to restore the original design intent to retry hw init when it fails. Signed-off-by: Olivier