mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-18 18:29:29 +01:00
eapol: Use l_container_of
This commit is contained in:
parent
10db2d60d6
commit
b97d3f2a82
@ -729,7 +729,7 @@ struct eapol_frame_watch {
|
||||
static void eapol_frame_watch_free(struct watchlist_item *item)
|
||||
{
|
||||
struct eapol_frame_watch *efw =
|
||||
container_of(item, struct eapol_frame_watch, super);
|
||||
l_container_of(item, struct eapol_frame_watch, super);
|
||||
|
||||
l_free(efw);
|
||||
}
|
||||
@ -2475,7 +2475,7 @@ void eapol_preauth_cancel(uint32_t ifindex)
|
||||
static bool eapol_frame_watch_match_ifindex(const void *a, const void *b)
|
||||
{
|
||||
struct eapol_frame_watch *efw =
|
||||
container_of(a, struct eapol_frame_watch, super);
|
||||
l_container_of(a, struct eapol_frame_watch, super);
|
||||
|
||||
return efw->ifindex == L_PTR_TO_UINT(b);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user