wifi: ath12k: Ignore fragments from uninitialized peer in dp
[platform/kernel/linux-rpi.git] / drivers / net / wireless / ath / ath12k / dp.c
index f933896..6893466 100644 (file)
@@ -38,6 +38,7 @@ void ath12k_dp_peer_cleanup(struct ath12k *ar, int vdev_id, const u8 *addr)
 
        ath12k_dp_rx_peer_tid_cleanup(ar, peer);
        crypto_free_shash(peer->tfm_mmic);
+       peer->dp_setup_done = false;
        spin_unlock_bh(&ab->base_lock);
 }