]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: Fix mode changes (ad-hoc <--> managed)
authorAssaf Krauss <assaf.krauss@intel.com>
Thu, 12 Jun 2008 01:47:06 +0000 (09:47 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 14 Jun 2008 16:18:07 +0000 (12:18 -0400)
commit843673fbcf38d114d79d8352bd2c82f2141f2bba
treeb35d110f16f1327d29625e62b13c735b7624022c
parent3726453f04ef50d6756e64d15cc7fb59341b4870
iwlwifi: Fix mode changes (ad-hoc <--> managed)

This fix allows to move between modes (ad-hoc to managed, and vice versa).
Since mode changes can only be done while driver is down, check for ibss
support can only be made when the channel is set (afte the driver goes up).

Signed-off-by: Assaf Krauss <assaf.krauss@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl4965-base.c