[PATCH 4.18 44/44] ath10k: fix scan crash due to incorrect length calculation