From d165e4efbc6d76cff51abb523567a840cb6623b9 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Sun, 25 May 2014 22:43:18 +0200 Subject: [PATCH] staging: rtl8723au: rtw_wdev_alloc(): Don't register wiphy before kmalloc() completed There is no point starting to register the wiphy and then having to unregister it again if the followon kmalloc() fails. Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed