Android: Revert static field back to send_and_recv_msgs()

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
Dmitry Shmidt 2013-11-22 12:39:07 -08:00 committed by Jouni Malinen
parent 3c2e82f101
commit 982189632f

View File

@ -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);