nl80211: Do not set socket owner for NL80211_CMD_LEAVE_IBSS
This operation terminates the IBSS and as such, does not really use NL80211_ATTR_SOCKET_OWNER. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
35e58b7415
commit
d2e6a395cc
1 changed files with 1 additions and 1 deletions
|
@ -6442,7 +6442,7 @@ static int nl80211_leave_ibss(struct wpa_driver_nl80211_data *drv,
|
|||
int ret;
|
||||
|
||||
msg = nl80211_drv_msg(drv, 0, NL80211_CMD_LEAVE_IBSS);
|
||||
ret = send_and_recv_msgs_connect_handle(drv, msg, drv->first_bss, 1,
|
||||
ret = send_and_recv_msgs_connect_handle(drv, msg, drv->first_bss, 0,
|
||||
NULL);
|
||||
if (ret) {
|
||||
wpa_printf(MSG_DEBUG, "nl80211: Leave IBSS failed: ret=%d "
|
||||
|
|
Loading…
Reference in a new issue