diff options
author | Avinash Patil <patila@marvell.com> | 2013-02-12 14:38:32 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-14 14:24:07 -0500 |
commit | 52301a815e81cdcbcf971ba28df0376dc7f3961c (patch) | |
tree | 7cde8248f4213febf0b16e2d637becbe84f1935f /drivers/net/wireless/rt2x00/rt2500pci.c | |
parent | 06e7cda3ce30dadc3454539127b4cfc3888c349e (diff) |
mwifiex: device specific sleep cookie handling for PCIe
This patch adds support for handling of PCIe sleep cookie depending
upon device properties. Some PCIe devices need sleep cookie probing
before accessing HW while some others don't. A new sleep_cookie
variable is defined as part of mwifiex_pcie_card_reg strcture and
set/reset as per device capability.
Sleep cookie is allocated/accessed/freed only when flag sleep_cookie
for this particular device is enabled.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500pci.c')
0 files changed, 0 insertions, 0 deletions