[PATCH AUTOSEL 5.4 027/350] libertas: fix a potential NULL pointer dereference