]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
libertas: Added callback functions to support SDIO suspend/resume.
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 19 May 2010 10:24:38 +0000 (03:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Jun 2010 20:13:06 +0000 (16:13 -0400)
commit66fceb69b72ff7e9cd8da2ca70033982d5376e0e
treeaa91d0d6c1c9e620a9718798fe925ebc3bab3eb8
parenta7da74fc88bff6f82f8255f2def49907f82f4c61
libertas: Added callback functions to support SDIO suspend/resume.

In suspend() host sleep is activated using already configured
host sleep parameters through wol command, and in resume() host
sleep is cancelled. Earlier priv->fw_ready flag used to reset and
set in suspend and resume handler respectively. Since after suspend
only host goes into sleep state and firmware is always ready, those
changes in flag state are removed.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/cmdresp.c
drivers/net/wireless/libertas/decl.h
drivers/net/wireless/libertas/dev.h
drivers/net/wireless/libertas/ethtool.c
drivers/net/wireless/libertas/if_sdio.c
drivers/net/wireless/libertas/if_usb.c
drivers/net/wireless/libertas/main.c