diff options
author | Bing Zhao <bzhao@marvell.com> | 2012-07-03 20:43:56 -0700 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-07-12 04:32:09 +0100 |
commit | 83744791d4f628e83a6aa8fd2d3d694daa547204 (patch) | |
tree | 35dc23f3f117d709ef5624f0e518382f0bd1cbed /fs/befs | |
parent | 907e461a4f50ca31c36575b03c14d2c07ba20df0 (diff) | |
download | lwn-83744791d4f628e83a6aa8fd2d3d694daa547204.tar.gz lwn-83744791d4f628e83a6aa8fd2d3d694daa547204.zip |
mwifiex: fix wrong return values in add_virtual_intf() error cases
commit 858faa57dd9e2b91f3f870fbb1185982e42f5a2b upstream
backported for linux-3.2.y, linux-3.3.y, linux-3.4.y
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/befs')
0 files changed, 0 insertions, 0 deletions