Mark wpas_data_test_rx() static
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 23 Jun 2016 10:43:20 +0000 (13:43 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 23 Jun 2016 10:43:20 +0000 (13:43 +0300)
This is not called from outside ctrl_iface.c.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/ctrl_iface.c

index 7541a80..b8e48e2 100644 (file)
@@ -7893,7 +7893,8 @@ static u16 ipv4_hdr_checksum(const void *buf, size_t len)
 #define HWSIM_PACKETLEN 1500
 #define HWSIM_IP_LEN (HWSIM_PACKETLEN - sizeof(struct ether_header))
 
 #define HWSIM_PACKETLEN 1500
 #define HWSIM_IP_LEN (HWSIM_PACKETLEN - sizeof(struct ether_header))
 
-void wpas_data_test_rx(void *ctx, const u8 *src_addr, const u8 *buf, size_t len)
+static void wpas_data_test_rx(void *ctx, const u8 *src_addr, const u8 *buf,
+                             size_t len)
 {
        struct wpa_supplicant *wpa_s = ctx;
        const struct ether_header *eth;
 {
        struct wpa_supplicant *wpa_s = ctx;
        const struct ether_header *eth;