iwlwifi: pcie: fix typo in struct name for a000 devices
authorSara Sharon <sara.sharon@intel.com>
Thu, 4 Aug 2016 07:56:53 +0000 (10:56 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 19 Sep 2016 06:06:30 +0000 (09:06 +0300)
commit 3cd1980b0cdf ("iwlwifi: pcie: introduce new tfd and tb formats")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c

index 188b0dee542cd478bb055b1114cc2ac8a403426e..74199b1749485fe44a19cc6c6821f38b3e7c9aaf 100644 (file)
@@ -2953,7 +2953,7 @@ struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev,
 
        if (cfg->use_tfh) {
                trans_pcie->max_tbs = IWL_TFH_NUM_TBS;
-               trans_pcie->tfd_size = sizeof(struct iwl_tfh_tb);
+               trans_pcie->tfd_size = sizeof(struct iwl_tfh_tfd);
 
        } else {
                trans_pcie->max_tbs = IWL_NUM_OF_TBS;