Merge remote-tracking branch 'iwlwifi-fixes/master' into next
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 18:30:10 +0000 (21:30 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 18:30:10 +0000 (21:30 +0300)
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Conflicts:
drivers/net/wireless/iwlwifi/pcie/internal.h

1  2 
drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h
drivers/net/wireless/iwlwifi/mvm/scan.c
drivers/net/wireless/iwlwifi/mvm/sta.c
drivers/net/wireless/iwlwifi/mvm/time-event.c
drivers/net/wireless/iwlwifi/mvm/tx.c
drivers/net/wireless/iwlwifi/pcie/drv.c
drivers/net/wireless/iwlwifi/pcie/internal.h
drivers/net/wireless/iwlwifi/pcie/rx.c
drivers/net/wireless/iwlwifi/pcie/trans.c
drivers/net/wireless/iwlwifi/pcie/tx.c

Simple merge
index feb2f7e8113464113f330c3141a03f05ea4bef33,376b84e54ad7e8bbb48d039d354c03748665451c..2de3d9a4fa7c1f8da4d4a0a6536be90383142053
  #include "iwl-io.h"
  #include "iwl-op-mode.h"
  
- /*
-  * RX related structures and functions
-  */
- #define RX_NUM_QUEUES 1
- #define RX_POST_REQ_ALLOC 2
- #define RX_CLAIM_REQ_ALLOC 8
- #define RX_POOL_SIZE ((RX_CLAIM_REQ_ALLOC - RX_POST_REQ_ALLOC) * RX_NUM_QUEUES)
- #define RX_LOW_WATERMARK 8
 +/* We need 2 entries for the TX command and header, and another one might
 + * be needed for potential data in the SKB's head. The remaining ones can
 + * be used for frags.
 + */
 +#define IWL_PCIE_MAX_FRAGS (IWL_NUM_OF_TBS - 3)
 +
  struct iwl_host_cmd;
  
  /*This file includes the declaration that are internal to the
index 6a3ee04c522216e2e93f537aaad3bb1be0fd96d2,9e144e71da0b5980264702a6210684cfa34edab5..ceea2d5702d3446fa1a0d4c69fc7a37bd12fdbef
@@@ -2660,11 -2488,10 +2676,11 @@@ struct iwl_trans *iwl_trans_pcie_alloc(
        spin_lock_init(&trans_pcie->irq_lock);
        spin_lock_init(&trans_pcie->reg_lock);
        spin_lock_init(&trans_pcie->ref_lock);
 +      mutex_init(&trans_pcie->mutex);
        init_waitqueue_head(&trans_pcie->ucode_write_waitq);
  
-       err = pci_enable_device(pdev);
-       if (err)
+       ret = pci_enable_device(pdev);
+       if (ret)
                goto out_no_pci;
  
        if (!cfg->base_params->pcie_l1_allowed) {