]> git.baikalelectronics.ru Git - kernel.git/commit
iwlcore: dont commit power command if interface is not up
authorMohamed Abbas <mohamed.abbas@intel.com>
Wed, 18 Mar 2009 04:51:45 +0000 (21:51 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:12:58 +0000 (20:12 -0400)
commit878675c4ade54b6b0d571bd9e489a1540ca8eac7
tree434e69ebd03354335f29e729d322247d009fbeb1
parent46892eab6579043d8c005fb50c228d3757bf7340
iwlcore: dont commit power command if interface is not up

If user set new power level, accept the new power level and only
send command to host if the interface is up and radio on.

Signed-off-by: Mohamed Abbas <mohamed.abbas@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