]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: move context init after firmware loading
authorJohannes Berg <johannes.berg@intel.com>
Sat, 23 Jul 2011 17:24:46 +0000 (10:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Aug 2011 20:04:04 +0000 (16:04 -0400)
commit9bf3d2937b2e97a3d846ccf438ad09519dffe483
treee2868a819c42d343acbce844c202e0dedf0a1e87
parentb3acc3cf3520d59e8ca4bd65f7a472eede91bda2
iwlagn: move context init after firmware loading

The availability of contexts depends on the
firmware capabilities. Currently only the
presence of the second context depends on it,
but soon P2P support will also be different.
Move the context initialisation code to the
firmware-dependent setup before registering
with mac80211 to make it easier to handle.

Signed-off-by: Johannes Berg <johannes.berg@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