From: Larry Finger Date: Wed, 6 Feb 2013 18:54:17 +0000 (-0600) Subject: rtlwifi: rtl8192cu: Fix NULL dereference BUG when using new_id X-Git-Tag: v3.9-rc1~139^2~31^2^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=957f4aca5fa0db69635271bc4621cc0b65b2d590;p=pandora-kernel.git rtlwifi: rtl8192cu: Fix NULL dereference BUG when using new_id When the new_id entry in /sysfs is used for a foreign USB device, rtlwifi BUGS with a NULL pointer dereference because the per-driver configuration data is not available. The probe function has been restructured as suggested by Ben Hutchings . Signed-off-by: Larry Finger Cc: Stable Signed-off-by: John W. Linville --- Reading git-diff-tree failed