]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: prefer BSS context
authorJohannes Berg <johannes.berg@intel.com>
Wed, 27 Apr 2011 12:19:34 +0000 (05:19 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 30 Apr 2011 15:57:32 +0000 (08:57 -0700)
commit94c4f2621b4b95efd1350728312ffb6e796e9312
tree7726fb8217d44c62703ee7ea8ee2e0812c7f9480
parente910f17b92e79bd3171f7d078425ee6abdf4deae
iwlagn: prefer BSS context

If an interface type changes from a type that is
only supported on the PAN context (e.g. P2P GO)
to a type that is supported on the BSS context,
and the BSS context is not in use, then we need
to use the BSS context instead of changing the
device type within the context. To achieve this,
refuse the type change, which causes a down/up
cycle that will allocate the BSS context for the
interface.

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-core.c