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)
commit3dc3374fcebe30fefebf1fdce660d33b3e2bd0f9
tree1dcbb916eaca729132988b11d94c4e1ea1aa48db
parentb9439491055a18ee075614139abadfd74c1b887f
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