]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: move uCode flags handling to op_mode
authorJohannes Berg <johannes.berg@intel.com>
Tue, 21 Feb 2012 16:31:06 +0000 (18:31 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 27 Feb 2012 21:25:06 +0000 (13:25 -0800)
commit1b4b81e5ee2efb17162be2cc9476a408ea83bbdc
tree3b8e30a6df0a44a876a719c3f76d8977f471d831
parentc0f64ba950fd73c13551164ea074fbebdb7fae70
iwlwifi: move uCode flags handling to op_mode

The uCode flags modification is op_mode dependent
since the P2P config is an op-mode config.

This also fixes P2P enabling: due to the uCode
loading code shuffle moving the SKU check before
the EEPROM was read it was always false and would
always disable PAN/P2P.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-ucode.c