Re: [PATCH net-next] ieee802154: hwsim: fix missing unlock on error in hwsim_add_one()

2018-08-08 Thread Stefan Schmidt
Hello Wei. On 08/08/2018 05:10 AM, Wei Yongjun wrote: > 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 > --- > drivers/net/ieee802154/mac80215

[PATCH net-next] ieee802154: hwsim: fix missing unlock on error in hwsim_add_one()

2018-08-07 Thread Wei Yongjun
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 --- drivers/net/ieee802154/mac802154_hwsim.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) d