iwlwifi: remove STATUS_MODE_PENDING
authorJohannes Berg <johannes.berg@intel.com>
Wed, 17 Feb 2010 12:54:08 +0000 (04:54 -0800)
committerReinette Chatre <reinette.chatre@intel.com>
Wed, 10 Mar 2010 00:06:06 +0000 (16:06 -0800)
commitb55e75ed926ded110293b0d1e24eb6a878883115
tree8d8d8661b7e8044e89677d4c7c2f6d92451239c5
parent76c9cc18fd2c8cfa5a7f66d5496d469db00eaf54
iwlwifi: remove STATUS_MODE_PENDING

Since rfkill integration, mac80211 can no
longer add an interface while the hardware
is not ready, so STATUS_MODE_PENDING can
never be set.

Also, remove another superfluous channel
sanity check and return the commit_rxon
return value in case it failed.

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