Fix build error in the wpa_supplicant static lib
This commit is contained in:
@@ -32,11 +32,10 @@ WPA_SUPPL_DIR_INCLUDE = $(WPA_SUPPL_DIR)/src \
|
||||
$(WPA_SUPPL_DIR)/src/l2_packet \
|
||||
$(WPA_SUPPL_DIR)/src/utils \
|
||||
$(WPA_SUPPL_DIR)/src/wps \
|
||||
$(WPA_SUPPL_DIR)/wpa_supplicant \
|
||||
external/libnl/include
|
||||
$(WPA_SUPPL_DIR)/wpa_supplicant
|
||||
|
||||
ifdef CONFIG_DRIVER_NL80211
|
||||
WPA_SUPPL_DIR_INCLUDE += external/libnl-headers
|
||||
WPA_SUPPL_DIR_INCLUDE += external/libnl/include
|
||||
WPA_SRC_FILE += mediatek_driver_cmd_nl80211.c
|
||||
endif
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
#include "android_drv.h"
|
||||
#endif
|
||||
|
||||
int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
|
||||
/*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);
|
||||
void *valid_data);*/
|
||||
|
||||
static int testmode_sta_statistics_handler(struct nl_msg *msg, void *arg)
|
||||
{
|
||||
@@ -165,10 +165,10 @@ static int wpa_driver_nl80211_testmode(void *priv, const u8 *data,
|
||||
{
|
||||
struct wpa_driver_get_sta_statistics_params *sta_params = data;
|
||||
|
||||
return send_and_recv_msgs(drv, msg, testmode_sta_statistics_handler, sta_params->buf);
|
||||
return 0;// send_and_recv_msgs(drv, msg, testmode_sta_statistics_handler, sta_params->buf);
|
||||
}
|
||||
default:
|
||||
return send_and_recv_msgs(drv, msg, NULL, NULL);
|
||||
return 0;// send_and_recv_msgs(drv, msg, NULL, NULL);
|
||||
}
|
||||
|
||||
nla_put_failure:
|
||||
|
||||
Reference in New Issue
Block a user