aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/pcie.h
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2015-02-11 12:42:26 -0500
committerKalle Valo <kvalo@codeaurora.org>2015-02-27 03:08:46 -0500
commitb4e8aebbc7c23c055d171f56c585e946c162b730 (patch)
tree744901f05ce1fdbc5cb9a6466c7c60c71ea4cd2d /drivers/net/wireless/mwifiex/pcie.h
parent7521ce6eb2d3650a04ac7a1d176607ae9441826a (diff)
mwifiex: change datatype to bool for device capability flags
This patch changes datatypes for device capability flags to bool. Patch also aggregates these variables at single place. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex/pcie.h')
-rw-r--r--drivers/net/wireless/mwifiex/pcie.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/pcie.h b/drivers/net/wireless/mwifiex/pcie.h
index 666d40e9dbc3..0e7ee8b72358 100644
--- a/drivers/net/wireless/mwifiex/pcie.h
+++ b/drivers/net/wireless/mwifiex/pcie.h
@@ -205,7 +205,7 @@ struct mwifiex_pcie_device {
205 const struct mwifiex_pcie_card_reg *reg; 205 const struct mwifiex_pcie_card_reg *reg;
206 u16 blksz_fw_dl; 206 u16 blksz_fw_dl;
207 u16 tx_buf_size; 207 u16 tx_buf_size;
208 bool supports_fw_dump; 208 bool can_dump_fw;
209 bool can_ext_scan; 209 bool can_ext_scan;
210}; 210};
211 211
@@ -214,7 +214,7 @@ static const struct mwifiex_pcie_device mwifiex_pcie8766 = {
214 .reg = &mwifiex_reg_8766, 214 .reg = &mwifiex_reg_8766,
215 .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD, 215 .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD,
216 .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K, 216 .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K,
217 .supports_fw_dump = false, 217 .can_dump_fw = false,
218 .can_ext_scan = true, 218 .can_ext_scan = true,
219}; 219};
220 220
@@ -223,7 +223,7 @@ static const struct mwifiex_pcie_device mwifiex_pcie8897 = {
223 .reg = &mwifiex_reg_8897, 223 .reg = &mwifiex_reg_8897,
224 .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD, 224 .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD,
225 .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_4K, 225 .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_4K,
226 .supports_fw_dump = true, 226 .can_dump_fw = true,
227 .can_ext_scan = true, 227 .can_ext_scan = true,
228}; 228};
229 229