diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-01-18 07:29:52 +0000 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-01-19 09:12:16 +0100 |
commit | f9d672f1c2ca36b788511bbd773d650c744e109a (patch) | |
tree | e56423a432760f4d71aadf3a194b0b522883cf8a /lib/crc16.c | |
parent | a0dc02039a2ee54fb4ae400e0b755ed30e73e58c (diff) | |
download | linux-stable-f9d672f1c2ca36b788511bbd773d650c744e109a.tar.gz linux-stable-f9d672f1c2ca36b788511bbd773d650c744e109a.tar.bz2 linux-stable-f9d672f1c2ca36b788511bbd773d650c744e109a.zip |
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>
Diffstat (limited to 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions