diff options
author | Andreas Kemnade <andreas@kemnade.info> | 2016-01-30 18:01:52 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-02-06 13:02:10 +0100 |
commit | fae4f9f78ab11937bc45b0f3625efe2e35aed510 (patch) | |
tree | 5283e5680bdfd584e33c4b211e25f5ea31b70220 /drivers/net/wireless/marvell/libertas/dev.h | |
parent | libertas: fix pointer bugs for PS_MODE commands (diff) | |
download | linux-fae4f9f78ab11937bc45b0f3625efe2e35aed510.tar.xz linux-fae4f9f78ab11937bc45b0f3625efe2e35aed510.zip |
libertas: check whether bus can do more than polling
If a sdio host does not support sdio irqs, polling is used
instead. That has an impact on performance. Some functionality
should not be enabled then. This add a variable in
libertas_priv to indicate that.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/libertas/dev.h')
-rw-r--r-- | drivers/net/wireless/marvell/libertas/dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/libertas/dev.h b/drivers/net/wireless/marvell/libertas/dev.h index 6bd1608992b0..edf710bc5e77 100644 --- a/drivers/net/wireless/marvell/libertas/dev.h +++ b/drivers/net/wireless/marvell/libertas/dev.h @@ -99,6 +99,7 @@ struct lbs_private { /* Hardware access */ void *card; bool iface_running; + u8 is_polling; /* host has to poll the card irq */ u8 fw_ready; u8 surpriseremoved; u8 setup_fw_on_resume; |