commit | d687cbb703f50980e155c5642cf229ec2bb45e3e | [log] [tgz] |
---|---|---|
author | Rafał Miłecki <zajec5@gmail.com> | Fri Nov 14 18:43:28 2014 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Nov 19 18:50:34 2014 +0100 |
tree | 6d4d167a3b672ad05a814d899bbbde8a89240e94 | |
parent | c7ab508190aee6b4a62cfab7ee08457602468672 [diff] |
cfg80211: protect fools returning NULL in add_virtual_intf Callback add_virtual_intf is supposed to return ERR_PTR and trying to return NULL results in some "Unable to handle kernel paging request", etc. As it may be complicated to debug & trace, let's catch it (WARN). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>