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)
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