[PATCH 5.4 058/261] ath10k: fix kernel null pointer dereference