mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-01 22:05:45 +00:00
wifi: fix entering an endless loop
This commit is contained in:
parent
79757f10f3
commit
84403ab84a
|
@ -127,7 +127,7 @@ _nl80211_send_and_recv (struct nl_sock *nl_sock,
|
|||
nl_cb_set (cb, NL_CB_VALID, NL_CB_CUSTOM, valid_handler, valid_data);
|
||||
|
||||
while (err > 0)
|
||||
nl_recvmsgs (nl_sock, cb);
|
||||
err = nl_recvmsgs (nl_sock, cb);
|
||||
|
||||
out:
|
||||
nl_cb_put (cb);
|
||||
|
|
Loading…
Reference in a new issue