]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix error return code in cfg80211_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 20 Mar 2013 12:22:54 +0000 (20:22 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2013 13:09:56 +0000 (14:09 +0100)
commitac44ce351266e6562194fa5a1d4e4cf201cb0724
tree12a3b8588bbc495a15fd06ced8f954988c9ec4d5
parent0c33a7a74d6940e4ff6b364394eb084e8e35a322
cfg80211: fix error return code in cfg80211_init()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c