diff options
author | Bing Zhao <bzhao@marvell.com> | 2012-06-16 00:49:54 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-19 20:59:19 +0200 |
commit | 858faa57dd9e2b91f3f870fbb1185982e42f5a2b (patch) | |
tree | 145bd3842a6d1af9b2e7ac2b6c90185443811778 /drivers/bluetooth/btmrvl_main.c | |
parent | airo: copying wrong data in airo_get_aplist() (diff) | |
download | linux-858faa57dd9e2b91f3f870fbb1185982e42f5a2b.tar.xz linux-858faa57dd9e2b91f3f870fbb1185982e42f5a2b.zip |
mwifiex: fix wrong return values in add_virtual_intf() error cases
add_virtual_intf() needs to return an ERR_PTR(), instead of NULL,
on errors, otherwise cfg80211 will crash.
Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bluetooth/btmrvl_main.c')
0 files changed, 0 insertions, 0 deletions