[PATCH 05/18] driver_nl80211: pass bss struct to event callbacks

Jouni Malinen j at w1.fi
Sat Nov 19 05:23:21 EST 2011


On Fri, Nov 04, 2011 at 11:37:54AM +0100, Johannes Berg wrote:
> -static int process_event(struct nl_msg *msg, void *arg)
> +static int process_drv_event(struct nl_msg *msg, void *arg)
> -static void wpa_driver_nl80211_event_receive(int sock, void *eloop_ctx,
> +static void wpa_driver_nl80211_drv_event_receive(int sock, void *eloop_ctx,
> -	nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, process_event, drv);
> +	nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, process_drv_event, drv);
> -				 wpa_driver_nl80211_event_receive, drv,
> +				 wpa_driver_nl80211_drv_event_receive, drv,
> -				 wpa_driver_nl80211_event_receive, drv,
> +				 wpa_driver_nl80211_drv_event_receive, drv,

All this patch seems to be doing is to rename couple of functions which
does not match with the "pass bss struct to event callbacks"
description... Was there supposed to be something else here?

To make things even more confusing, patch 12/18 reverts part of these
changes.. Should 5 and 12 be merged together?
 
-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list