]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Android: Revert static field back to send_and_recv_msgs()
authorDmitry Shmidt <dimitrysh@google.com>
Fri, 22 Nov 2013 20:39:07 +0000 (12:39 -0800)
committerJouni Malinen <j@w1.fi>
Fri, 22 Nov 2013 21:12:40 +0000 (23:12 +0200)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
src/drivers/driver_nl80211.c

index 9d4bcb8b558bce99a60c57744ad5e9afef8c913c..eaca17250287388cba2ae2e9b75215275f8d3666 100644 (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);