commit | 858faa57dd9e2b91f3f870fbb1185982e42f5a2b | [log] [tgz] |
---|---|---|
author | Bing Zhao <bzhao@marvell.com> | Fri Jun 15 15:49:54 2012 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jun 19 14:59:19 2012 -0400 |
tree | 145bd3842a6d1af9b2e7ac2b6c90185443811778 | |
parent | 7f59ebb5f34380696d16094fa1090485ec077fb1 [diff] |
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>