diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/pcie.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/pcie.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/pcie.c b/drivers/net/wireless/mwifiex/pcie.c index d11d4acf0890..92c31b5c269c 100644 --- a/drivers/net/wireless/mwifiex/pcie.c +++ b/drivers/net/wireless/mwifiex/pcie.c | |||
@@ -190,6 +190,7 @@ static int mwifiex_pcie_probe(struct pci_dev *pdev, | |||
190 | card->pcie.firmware = data->firmware; | 190 | card->pcie.firmware = data->firmware; |
191 | card->pcie.reg = data->reg; | 191 | card->pcie.reg = data->reg; |
192 | card->pcie.blksz_fw_dl = data->blksz_fw_dl; | 192 | card->pcie.blksz_fw_dl = data->blksz_fw_dl; |
193 | card->pcie.tx_buf_size = data->tx_buf_size; | ||
193 | } | 194 | } |
194 | 195 | ||
195 | if (mwifiex_add_card(card, &add_remove_card_sem, &pcie_ops, | 196 | if (mwifiex_add_card(card, &add_remove_card_sem, &pcie_ops, |
@@ -2320,6 +2321,7 @@ static int mwifiex_register_dev(struct mwifiex_adapter *adapter) | |||
2320 | } | 2321 | } |
2321 | 2322 | ||
2322 | adapter->dev = &pdev->dev; | 2323 | adapter->dev = &pdev->dev; |
2324 | adapter->tx_buf_size = card->pcie.tx_buf_size; | ||
2323 | strcpy(adapter->fw_name, card->pcie.firmware); | 2325 | strcpy(adapter->fw_name, card->pcie.firmware); |
2324 | 2326 | ||
2325 | return 0; | 2327 | return 0; |