ath10k: move htt_op_version to struct ath10k_fw_file
[cascardo/linux.git] / drivers / net / wireless / ath / ath10k / htt.c
index ee79512..130cd95 100644 (file)
@@ -183,7 +183,7 @@ int ath10k_htt_init(struct ath10k *ar)
                8 + /* llc snap */
                2; /* ip4 dscp or ip6 priority */
 
-       switch (ar->htt.op_version) {
+       switch (ar->running_fw->fw_file.htt_op_version) {
        case ATH10K_FW_HTT_OP_VERSION_10_4:
                ar->htt.t2h_msg_types = htt_10_4_t2h_msg_types;
                ar->htt.t2h_msg_types_max = HTT_10_4_T2H_NUM_MSGS;