UPSTREAM: mwifiex: report error to MMC core if we cannot suspend
authorBing Zhao <bzhao@marvell.com>
Thu, 15 Nov 2012 21:48:19 +0000 (13:48 -0800)
committerGerrit <chrome-bot@google.com>
Mon, 19 Nov 2012 20:45:36 +0000 (12:45 -0800)
commite0f25053d60ba55f8dfa2c364cc8efab17c11e40
treeab6d2d4a6d63773d4322c9c95f885cd15beb15d6
parent415c7a9732fd664a408af61b062b96bc6b0a7ac8
UPSTREAM: 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: Paul Stewart <pstew@chromium.org>
BUG=chrome-os-partner:15129
TEST=Boot, associate, speed test, suspend, resume

Change-Id: I9d53425b29050274840030e63f95969601ee622f
Reviewed-on: https://gerrit.chromium.org/gerrit/38285
Reviewed-by: Bing Zhao <bzhao@marvell.com>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Ready: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
drivers/net/wireless/mwifiex/sdio.c