iwlwifi: allow using multiple contexts
authorJohannes Berg <johannes.berg@intel.com>
Mon, 23 Aug 2010 08:46:58 +0000 (10:46 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 27 Aug 2010 16:49:38 +0000 (09:49 -0700)
commitd0fe478c9f42dbc4916aa8d1d7a05d7f669d2209
treebb710248e2298dffa76fd336a74b647947140d1f
parentbde4530e9d2fa013b5674e4c9b066ed6d87ab45c
iwlwifi: allow using multiple contexts

We're now ready to start using multiple contexts.
We do this by keeping track of the valid interface
types per context (exclusive [ibss] and normal)
and checking which context is "free" when a new
interface is added.

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-core.c
drivers/net/wireless/iwlwifi/iwl-core.h
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl3945-base.c