]> 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)
commit50ed05745a76a096500cf661d573347ecbf3e222
treee2868a819c42d343acbce844c202e0dedf0a1e87
parent5f421ae7d636003b33336654c767b6e810afa1bd
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