mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-01 23:59:51 +01: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:
parent
1df4cb5be7
commit
fff6c97e99
@ -375,8 +375,7 @@ static bool frame_watch_group_remove_wdev(void *data, void *user_data)
|
|||||||
* internals.
|
* internals.
|
||||||
*/
|
*/
|
||||||
l_queue_foreach_remove(group->watches.items,
|
l_queue_foreach_remove(group->watches.items,
|
||||||
frame_watch_item_remove_wdev,
|
frame_watch_item_remove_wdev, user_data);
|
||||||
&wdev_id);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user