iwlwifi: pcie: cleanup rfkill checks
authorSara Sharon <sara.sharon@intel.com>
Wed, 26 Oct 2016 11:28:23 +0000 (14:28 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Jan 2017 07:39:00 +0000 (09:39 +0200)
commit727c02dfb8480fd5b233a18786ee5de2c0be741c
tree470abf7954edcd53a2d8b455939c8c9945c81974
parentad04e088d48a37871a5635de4acdfa689a0b2429
iwlwifi: pcie: cleanup rfkill checks

Move repeating code to a separate function.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c