iwlwifi: mvm: simplify TX power setting
authorJohannes Berg <johannes.berg@intel.com>
Sun, 17 Jan 2021 14:52:32 +0000 (16:52 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 5 Feb 2021 09:55:19 +0000 (11:55 +0200)
commit9aae43a450e89db2f293d310b4342342388d2e96
treea4cf7e6e905fe360774a8a56e53be8ebe5905afe
parent13f028b4f748510aa8f0dd4d3684685dbd2a7c8f
iwlwifi: mvm: simplify TX power setting

There's no need to double this code, just put it into the common
code that's called in all the cases.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210117164916.1f75d426ebe4.I58f6612f7e168c655bdef206a53e5bc117c84cf5@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c