ath11k: remove redundant num_keep_alive_pattern assignment
authorKalle Valo <kvalo@codeaurora.org>
Thu, 17 Sep 2020 16:46:30 +0000 (19:46 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 22 Sep 2020 07:44:35 +0000 (10:44 +0300)
There were two asignments to num_keep_alive_pattern, remove the first one which is wrong.

No functional changes. Compile tested only.

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1600361190-22047-1-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/hw.c

index 699c62879d80f067f04ad47bcf5b19edd4cf4509..11a411b76fe42a4d3d5c57211506a7dbeac462f4 100644 (file)
@@ -74,7 +74,6 @@ static void ath11k_init_wmi_config_qca6390(struct ath11k_base *ab,
        config->beacon_tx_offload_max_vdev = 0x2;
        config->num_multicast_filter_entries = 0x20;
        config->num_wow_filters = 0x16;
-       config->num_keep_alive_pattern = 0x1;
        config->num_keep_alive_pattern = 0;
 }