]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitf00f188f8212fec9976394976c4fd5d4a3bc4dcf
tree12a3b8588bbc495a15fd06ced8f954988c9ec4d5
parent217c15777784331336a8eb232af7e2fa180b136a
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