[PATCH AUTOSEL 4.9 10/91] libertas: fix a potential NULL pointer dereference