]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: don't update the op_mode if rfkill hasn't changed
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 22 Dec 2013 13:13:01 +0000 (15:13 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 31 Dec 2013 17:03:44 +0000 (19:03 +0200)
commit39c92ba9c82727be02d830645e4f6650781fe201
tree1dcbb916eaca729132988b11d94c4e1ea1aa48db
parentb4aef8b72fa66c07c1e467f6e4f517a7faa78321
iwlwifi: pcie: don't update the op_mode if rfkill hasn't changed

This is useless and introduces a dependency between rfkill
and stop_device - the op_mode can't call stop_device from
the rfkill notification since it would lead to an endless
recursion.
Next patches will need to do so.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c