]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24a6e11462a6bea9273e007501bfe1faa351f5c5
tree9016fc5cdcfa4b63e7fb96ed3a0abf73d0b95e6a
parent022b4c62e5a0bd2f7a452123a842eef0b52b2c6a
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