Hi John,

Today's linux-next merge of the wireless-next tree got a conflict in 
drivers/net/wireless/iwlwifi/pcie/trans.c between commit eabc4ac5d760 
("iwlwifi: pcie: disable L1 Active after pci_enable_device") from the wireless 
tree and commit 6965a3540a4b ("iwlwifi: pcie: don't swallow error codes in 
iwl_trans_pcie_alloc()") from the wireless-next tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    s...@canb.auug.org.au

diff --cc drivers/net/wireless/iwlwifi/pcie/trans.c
index 8c6c405,bad95d2..0000000
--- a/drivers/net/wireless/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/iwlwifi/pcie/trans.c
@@@ -1400,11 -1401,6 +1401,10 @@@ struct iwl_trans *iwl_trans_pcie_alloc(
        spin_lock_init(&trans_pcie->reg_lock);
        init_waitqueue_head(&trans_pcie->ucode_write_waitq);
  
-       if (pci_enable_device(pdev)) {
-               err = -ENODEV;
++      err = pci_enable_device(pdev);
++      if (err)
 +              goto out_no_pci;
-       }
 +
        if (!cfg->base_params->pcie_l1_allowed) {
                /*
                 * W/A - seems to solve weird behavior. We need to remove this

Attachment: pgp50sL4jPdw1.pgp
Description: PGP signature

Reply via email to