diff mbox

[v3,08/15] driver_nl80211: rename process_event

Message ID 20111119123951.806118599@sipsolutions.net
State Accepted
Commit f06aedd92f5b14db2d0a6008cf02c88a4bddfd45
Headers show

Commit Message

Johannes Berg Nov. 19, 2011, 12:39 p.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Comments

Jouni Malinen Dec. 3, 2011, 6:11 p.m. UTC | #1
On Sat, Nov 19, 2011 at 01:39:18PM +0100, Johannes Berg wrote:
> The next patch will add process_bss_event, rename
> process_event to process_drv_event to differentiate
> between them.

Thanks, applied.
diff mbox

Patch

diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 507511f..40de7ac 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -1711,7 +1711,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));
@@ -2230,7 +2230,7 @@  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);
+		  process_drv_event, drv);
 
 	eloop_register_read_sock(nl_socket_get_fd(drv->nl_event.handle),
 				 wpa_driver_nl80211_event_receive, drv->nl_cb,