staging: brcm80211: fix suspend/resume issue in brcmsmac
authorArend van Spriel <arend@broadcom.com>
Fri, 21 Jan 2011 12:36:44 +0000 (13:36 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 22 Jan 2011 14:32:22 +0000 (06:32 -0800)
commit4032ec639af9b735fdd903fab09de567bd73eaa0
treee6f4360b7969706aa3ae5d7e2057b3cb6138376f
parentd062d44a8386c82c06e483f0c0d1124ba3cab2c8
staging: brcm80211: fix suspend/resume issue in brcmsmac

PCI PM suspend callback took down the interface and resume brought
it back up. In the mac80211 context this is done in subsequent calls.
Rework implementation so that suspend only stores config, and sets
PCI power state. The resume return to full power state (D0), restores
the config, and brings hardware back up. Full bringup is done by
subsequent mac80211 calls.

Reviewed-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/sys/wl_mac80211.c