[PATCH 5.4 399/408] ath10k: check idx validity in __ath10k_htt_rx_ring_fill_n()