libertas: check for NULL before use
If kzalloc fails it will return NULL. Lets check for NULL first before using the pointer. Signed-off-by: NSudip Mukherjee <sudip@vectorindia.org> Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
Showing
想要评论请 注册 或 登录