3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-05 19:08:52 +02:00

frame-watch: Fix an l_queue_foreach_remove call

A pointer to the wdev_id is expected in this call inside
frame_watch_group_remove_wdev instead of a pointer to the pointer.
This commit is contained in:
Andrew Zaborowski 2020-02-04 12:23:05 +01:00 committed by Denis Kenzior
parent 1df4cb5be7
commit fff6c97e99

View File

@ -375,8 +375,7 @@ static bool frame_watch_group_remove_wdev(void *data, void *user_data)
* internals.
*/
l_queue_foreach_remove(group->watches.items,
frame_watch_item_remove_wdev,
&wdev_id);
frame_watch_item_remove_wdev, user_data);
return false;
}