[PATCH 6.6 009/150] wifi: avoid offset calculation on NULL pointer