mesh: Return negative value on join failed
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
parent
5a2a6de6a5
commit
7451a217be
1 changed files with 1 additions and 1 deletions
|
@ -7820,7 +7820,7 @@ wpa_driver_nl80211_join_mesh(void *priv,
|
||||||
struct wpa_driver_nl80211_data *drv = bss->drv;
|
struct wpa_driver_nl80211_data *drv = bss->drv;
|
||||||
struct nl_msg *msg;
|
struct nl_msg *msg;
|
||||||
struct nlattr *container;
|
struct nlattr *container;
|
||||||
int ret = 0;
|
int ret = -1;
|
||||||
u32 timeout;
|
u32 timeout;
|
||||||
|
|
||||||
wpa_printf(MSG_DEBUG, "nl80211: mesh join (ifindex=%d)", drv->ifindex);
|
wpa_printf(MSG_DEBUG, "nl80211: mesh join (ifindex=%d)", drv->ifindex);
|
||||||
|
|
Loading…
Reference in a new issue