[PATCH OLK-6.6 335/470] wifi: avoid offset calculation on NULL pointer