diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-08-29 20:41:14 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-01 19:48:11 +0200 |
commit | 62d2e63c3ef6622dee42b2ef5f2a4690125af12c (patch) | |
tree | ae784fe95c174c7f121a7a93f0df522b6fffd813 /drivers/staging/rtl8723bs | |
parent | 75069a4e8253e381cfc7e9d4f0d986842fc28e95 (diff) |
staging: rtl8723bs: os_dep: return errcode in cfg80211_rtw_leave_ibss()
We should return error to caller in cfg80211_rtw_leave_ibss().
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200829124114.5792-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r-- | drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 2fb80b6eb51d..ea3ae3d38337 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -2021,7 +2021,7 @@ static int cfg80211_rtw_leave_ibss(struct wiphy *wiphy, struct net_device *ndev) } leave_ibss: - return 0; + return ret; } static int cfg80211_rtw_connect(struct wiphy *wiphy, struct net_device *ndev, |