mwifiex: report error to MMC core if we cannot suspend
authorBing Zhao <bzhao@marvell.com>
Thu, 15 Nov 2012 23:58:48 +0000 (15:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Dec 2012 19:46:38 +0000 (11:46 -0800)
commit6966e1b95a3b866bf076176f7cd3f6898e00ee68
tree06349933e7c6a2d60d640b8c6cb3728761bd2453
parent383072079d8f54041bf183a2fa70144bebb82ed8
mwifiex: report error to MMC core if we cannot suspend

commit dd321acddc3be1371263b8c9e6c6f2af89f63d57 upstream.

When host_sleep_config command fails we should return error to
MMC core to indicate the failure for our device.

The misspelled variable is also removed as it's redundant.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mwifiex/sdio.c