mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
frame-xchg: Fix frame_watch_item_remove_by_handler
This commit is contained in:
parent
a18c75d375
commit
9147a6b726
@ -656,7 +656,8 @@ struct frame_watch_handler_check_info {
|
|||||||
|
|
||||||
static bool frame_watch_item_remove_by_handler(void *data, void *user_data)
|
static bool frame_watch_item_remove_by_handler(void *data, void *user_data)
|
||||||
{
|
{
|
||||||
struct frame_watch *watch = data;
|
struct frame_watch *watch =
|
||||||
|
l_container_of(data, struct frame_watch, super);
|
||||||
struct frame_watch_handler_check_info *info = user_data;
|
struct frame_watch_handler_check_info *info = user_data;
|
||||||
|
|
||||||
if (watch->super.notify != info->handler ||
|
if (watch->super.notify != info->handler ||
|
||||||
|
Loading…
Reference in New Issue
Block a user