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)
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>

No differences found