Skip to content
Commit f9d672f1 authored by Wei Yongjun's avatar Wei Yongjun Committed by Johannes Berg
Browse files

virt_wifi: fix error return code in virt_wifi_newlink()

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

Fixes: c7cdba31

 ("mac80211-next: rtnetlink wifi simulation device")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent a0dc0203
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment