From: Wei Yongjun Date: Mon, 26 Aug 2013 07:32:58 +0000 (+0800) Subject: mac80211_hwsim: fix error return code in init_mac80211_hwsim() X-Git-Tag: v3.12-rc1~132^2~84^2^2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcdd822007e44b1da1ad5a62f20b75ee7d8da608;p=pandora-kernel.git mac80211_hwsim: fix error return code in init_mac80211_hwsim() Fix to return -ENOMEM in the netdev alloc error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun Signed-off-by: Johannes Berg --- Reading git-diff-tree failed