From: Bing Zhao Date: Wed, 4 Jul 2012 03:43:56 +0000 (-0700) Subject: mwifiex: fix wrong return values in add_virtual_intf() error cases X-Git-Tag: v3.2.23~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83744791d4f628e83a6aa8fd2d3d694daa547204;p=pandora-kernel.git 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 Signed-off-by: Bing Zhao Signed-off-by: John W. Linville Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed