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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue