Johannes Berg ce1eadda6b cfg80211: fix wdev tracing crash
Arend reported a crash in tracing if the driver returns an
ERR_PTR() value from the add_virtual_intf() callback. This
is due to the tracing then still attempting to dereference
the "pointer", fix this by using IS_ERR_OR_NULL().

Reported-by: Arend van Spriel <arend@broadcom.com>
Tested-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-03-20 22:21:31 +01:00
..
2013-01-03 13:01:40 +01:00
2012-11-16 14:29:09 -05:00
2012-10-18 10:53:37 +02:00
2012-10-18 10:53:37 +02:00
2013-03-20 22:21:31 +01:00
2012-12-07 11:58:26 +01:00