iwlwifi: restore PAN support
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 7 Mar 2012 17:52:41 +0000 (09:52 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 9 Mar 2012 16:32:59 +0000 (11:32 -0500)
commit3dc420be8ce72688bd333afdab6d911e3ceb94e7
tree9016fc5cdcfa4b63e7fb96ed3a0abf73d0b95e6a
parentc6f600fcfe8a7e4f594fc4c80b2c7b66f248958b
iwlwifi: restore PAN support

in iwlwifi: move setting up fw parameters

Meenakshi moved code up to configure the transport layer, but this
code read the sku before it was set (from the EEPROM). This killed
P2P.
Only the ucode_flags are needed to configure the transport layer, not
the sku which _must_ be set after the EEPROM is read.

We need to reconfigure the transport in case the EEPROM disabled PAN
support. This is not the nicest thing to do, but we have no choice.
Document that we are allowed to configure the transport several times
before start_fw, but not after.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-trans.h