commit | f9d672f1c2ca36b788511bbd773d650c744e109a | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Fri Jan 18 07:29:52 2019 +0000 |
committer | Johannes Berg <johannes.berg@intel.com> | Sat Jan 19 09:12:16 2019 +0100 |
tree | e56423a432760f4d71aadf3a194b0b522883cf8a | |
parent | a0dc02039a2ee54fb4ae400e0b755ed30e73e58c [diff] |
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: c7cdba31ed8b ("mac80211-next: rtnetlink wifi simulation device") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>