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)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Nov 2012 19:52:25 +0000 (14:52 -0500)
commitdd321acddc3be1371263b8c9e6c6f2af89f63d57
treeb2feb7686fcca7965b8cc6327ab2767fa1ce7efc
parentb1a47aa5e1e159e2cb06d7dfcc17ef5149b09299
mwifiex: report error to MMC core if we cannot suspend

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.

Cc: "3.0+" <stable@vger.kernel.org>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sdio.c