mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
Mark wpas_data_test_rx() static
This is not called from outside ctrl_iface.c. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
4d8d710f0b
commit
0dbe22be3d
@ -7893,7 +7893,8 @@ static u16 ipv4_hdr_checksum(const void *buf, size_t len)
|
|||||||
#define HWSIM_PACKETLEN 1500
|
#define HWSIM_PACKETLEN 1500
|
||||||
#define HWSIM_IP_LEN (HWSIM_PACKETLEN - sizeof(struct ether_header))
|
#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;
|
struct wpa_supplicant *wpa_s = ctx;
|
||||||
const struct ether_header *eth;
|
const struct ether_header *eth;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user