[PATCH 4.14 077/293] ath10k: add missing error handling