iwlwifi: trust calling function
authorShaul Triebitz <shaul.triebitz@intel.com>
Sun, 17 Feb 2019 08:42:12 +0000 (10:42 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 3 Apr 2019 08:19:58 +0000 (11:19 +0300)
commit186e6c871b92648453ef4b333c1fffdaacbb2035
treee109336d229771ab3dbddb6915b483da137deb96
parent1cdb4d8f2a4b682a5cd9f0138098cddae55dddc3
iwlwifi: trust calling function

When initializing or overriding HE band capabilities, no
need to check the band validity.
Trust the calling function to use a valid band.

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c