Skip to content
Commit 0ed2a005 authored by Kangjie Lu's avatar Kangjie Lu Committed by Kalle Valo
Browse files

net: cw1200: fix a NULL pointer dereference



In case create_singlethread_workqueue fails, the fix free the
hardware and returns NULL to avoid NULL pointer dereference.

Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent b2c01aab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment