[PATCH 4.14 185/191] ath10k: check idx validity in __ath10k_htt_rx_ring_fill_n()