[PATCH 6.1 006/100] wifi: avoid offset calculation on NULL pointer