]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Rename process_event
authorJohannes Berg <johannes.berg@intel.com>
Sat, 3 Dec 2011 18:10:44 +0000 (20:10 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 3 Dec 2011 18:10:44 +0000 (20:10 +0200)
The next patch will add process_bss_event, rename process_event to
process_drv_event to differentiate between them.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>

src/drivers/driver_nl80211.c

index cd19ac93223f88605ec16e16bdb68104f51a7c00..14a7a562898999cbb82e9939abaa34b8050e6087 100644 (file)
@@ -1727,7 +1727,7 @@ static void nl80211_client_probe_event(struct wpa_driver_nl80211_data *drv,
 }
 
 
-static int process_event(struct nl_msg *msg, void *arg)
+static int process_drv_event(struct nl_msg *msg, void *arg)
 {
        struct wpa_driver_nl80211_data *drv = arg;
        struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg));
@@ -2245,7 +2245,8 @@ static int wpa_driver_nl80211_init_nl(struct wpa_driver_nl80211_data *drv)
 
        nl_cb_set(drv->nl_cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM,
                  no_seq_check, NULL);
-       nl_cb_set(drv->nl_cb, NL_CB_VALID, NL_CB_CUSTOM, process_event, drv);
+       nl_cb_set(drv->nl_cb, NL_CB_VALID, NL_CB_CUSTOM,
+                 process_drv_event, drv);
 
        eloop_register_read_sock(nl_socket_get_fd(drv->nl_event.handle),
                                 wpa_driver_nl80211_event_receive, drv->nl_cb,