]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: remove alive start adhoc restart
authorJohannes Berg <johannes.berg@intel.com>
Wed, 17 Feb 2010 09:43:41 +0000 (01:43 -0800)
committerReinette Chatre <reinette.chatre@intel.com>
Wed, 10 Mar 2010 00:05:55 +0000 (16:05 -0800)
commitc42d0f581cbc3d461f447e7d0c5051c132412880
tree850ac1ad7e4a9c91e70436c3356df34ca243a9cf
parenta6c5acb2c5a6659c3eeb5403259d67e712e983f1
iwlwifi: remove alive start adhoc restart

This code will never trigger, because when
we call this during interface start, neither
priv->vif nor priv->iw_mode conditions will
be true, and when it happens during reset
then priv->vif is also NULL. Also, in both
cases the same code will be executed as part
of iwl_bss_info_changed(), which contains a
copy of this code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl3945-base.c