iwlwifi: don't fail power set when calibration is not done yet
authorWinkler, Tomas <tomas.winkler@intel.com>
Fri, 7 Nov 2008 17:58:37 +0000 (09:58 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 Nov 2008 16:06:07 +0000 (11:06 -0500)
commita71c8f62d46e4496011182658dc058303960c068
tree22986c8d13bb379c841cc0c05dafa97937bb334a
parent193357748979985498f21abc94c7a0a3ed5a3b8e
iwlwifi: don't fail power set when calibration is not done yet

This patch doesn't fail power save setting when calibration is
not done yet. The new power index is registered and will
be evaluated again anyway upon calibration completion.

This patch also eliminates WARN_ON in mac80211 hw_config during
initialization

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-power.c