From 982189632fe8ef4a885a82257cd90e0dc26a17ce Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Fri, 22 Nov 2013 12:39:07 -0800 Subject: [PATCH] Android: Revert static field back to send_and_recv_msgs() Signed-off-by: Dmitry Shmidt --- src/drivers/driver_nl80211.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 9d4bcb8b5..eaca17250 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -625,13 +625,10 @@ static int send_and_recv_msgs_global(struct nl80211_global *global, } -#ifndef ANDROID_P2P -static -#endif /* ANDROID_P2P */ -int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, - struct nl_msg *msg, - int (*valid_handler)(struct nl_msg *, void *), - void *valid_data) +static int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, + struct nl_msg *msg, + int (*valid_handler)(struct nl_msg *, void *), + void *valid_data) { return send_and_recv(drv->global, drv->global->nl, msg, valid_handler, valid_data);