staging/rtl8821ae: Fix OOM handling in _rtl_init_deferred_work()
authorRichard Weinberger <richard@nod.at>
Thu, 20 Mar 2014 23:42:54 +0000 (00:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2014 18:39:09 +0000 (11:39 -0700)
commit29d1e7209e1866a1b6b686107cce9f5a9b886a53
treecb1c0bc67dad329586550cbf97d3e88113eea018
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
staging/rtl8821ae: Fix OOM handling in _rtl_init_deferred_work()

alloc_workqueue() can fail, handle this case.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8821ae/base.c