]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
iwlwifi: mvm: use proper CDB check in PHY context modify
authorJohannes Berg <johannes.berg@intel.com>
Fri, 26 May 2017 11:11:44 +0000 (13:11 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 29 Jun 2017 10:26:25 +0000 (13:26 +0300)
commit91109f42d0ad0c0c282d1fa1257a1548977aa895
treed833374f143d0c77e6ca76cf834f8aeb5b353839
parent4e37b063ad9f902052903c579b6f291ba329104e
iwlwifi: mvm: use proper CDB check in PHY context modify

When the firmware supports CDB, PHY contexts cannot be modified to
change their band, but need to be added/remove instead. Instead of
relying on iwl_mvm_has_new_tx_api(), check the right FW capa flag
IWL_UCODE_TLV_CAPA_BINDING_CDB_SUPPORT and remove the comment.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c