commit | 13403d6952a5adf80d3d5668c290490852b4def2 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Aug 08 03:10:39 2018 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 08 18:36:49 2018 -0700 |
tree | 9decf048cb7600f2df1e66c54132b55a44e8daed | |
parent | 470770bf841b49fe129876300dfcb74a8bbabe99 [diff] |
ieee802154: hwsim: fix missing unlock on error in hwsim_add_one() Add the missing unlock before return from function hwsim_add_one() in the error handling case. Fixes: f25da51fdc38 ("ieee802154: hwsim: add replacement for fakelb") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org> Signed-off-by: David S. Miller <davem@davemloft.net>