[PATCH 6.12 130/512] wifi: ath12k: fix invalid access to memory