brcmfmac: reset suspend flag upon sdio suspend failure
authorArend van Spriel <arend@broadcom.com>
Tue, 25 Feb 2014 19:30:38 +0000 (20:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 19:33:49 +0000 (14:33 -0500)
commit3e3831c4fdc53aabf3a56419ef6d96a841c52435
tree490998964dd4cf3f94973ae45999a3e37403fff8
parenta5333914536debe05f36ed0d0273f1ddab744eea
brcmfmac: reset suspend flag upon sdio suspend failure

The suspend callback first sets the suspend flag used in the driver
but after that the actual suspend is done, which may fail. Reset the
flag upon suspend failure.

Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c