]> git.karo-electronics.de Git - linux-beck.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)
commit76c9cc18fd2c8cfa5a7f66d5496d469db00eaf54
tree850ac1ad7e4a9c91e70436c3356df34ca243a9cf
parent67d613aed70194387edb1f8bf990f9cf197d3717
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