From: Reinette Chatre Date: Thu, 4 Dec 2008 22:49:08 +0000 (-0800) Subject: mac80211: remove WARN_ON() from ieee80211_hw_config X-Git-Tag: v2.6.29-rc1~581^2~203^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=447107fb32d75425c95a33f58e6b4b760b470092;p=pandora-kernel.git mac80211: remove WARN_ON() from ieee80211_hw_config ieee80211_hw_config can return an error when the hardware has rfkill enabled. A WARN_ON() is too harsh for this failure as it is a valid scenario. Only comment this warning as we would like to have it back when rfkill is integrated into mac80211. Also reintroduce propagation of error if ieee80211_hw_config fails in ieee80211_config_beacon. This patch partially reverts patch: 5f0387fc3337ca26f0745f945f550f0c3734960f "mac80211: clean up ieee80211_hw_config errors" Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed