iwmc3200wifi: Dont set the UMAC power limit when interface is down
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 24 Nov 2009 03:33:28 +0000 (11:33 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Nov 2009 20:04:41 +0000 (15:04 -0500)
commitfe19176ea46db572f0dc2df8bfe1dc5d8751ab9e
tree24cd2a6468ed174a09b69373058839e9b513191a
parent902b6667d3d17ac53ec62c036cd2bcf713c29d86
iwmc3200wifi: Dont set the UMAC power limit when interface is down

When we're down, we shouldnt try to set the UMAC power limit. We just return 0
instead, and cfg80211 toggles the soft rfkill state.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/cfg80211.c