TDLS: Make wpa_tdls_send_teardown() static
This function was not used anywhere outside tdls.c. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
52f5877afa
commit
b19719aa77
2 changed files with 4 additions and 2 deletions
|
@ -84,6 +84,8 @@ static void wpa_tdls_tpk_retry_timeout(void *eloop_ctx, void *timeout_ctx);
|
|||
static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
|
||||
static void wpa_tdls_disable_peer_link(struct wpa_sm *sm,
|
||||
struct wpa_tdls_peer *peer);
|
||||
static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr,
|
||||
u16 reason_code);
|
||||
|
||||
|
||||
#define TDLS_MAX_IE_LEN 80
|
||||
|
@ -677,7 +679,8 @@ static void wpa_tdls_linkid(struct wpa_sm *sm, struct wpa_tdls_peer *peer,
|
|||
}
|
||||
|
||||
|
||||
int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr, u16 reason_code)
|
||||
static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr,
|
||||
u16 reason_code)
|
||||
{
|
||||
struct wpa_tdls_peer *peer;
|
||||
struct wpa_tdls_ftie *ftie;
|
||||
|
|
|
@ -379,7 +379,6 @@ void wpa_tdls_ap_ies(struct wpa_sm *sm, const u8 *ies, size_t len);
|
|||
void wpa_tdls_assoc_resp_ies(struct wpa_sm *sm, const u8 *ies, size_t len);
|
||||
int wpa_tdls_start(struct wpa_sm *sm, const u8 *addr);
|
||||
void wpa_tdls_remove(struct wpa_sm *sm, const u8 *addr);
|
||||
int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr, u16 reason_code);
|
||||
int wpa_tdls_teardown_link(struct wpa_sm *sm, const u8 *addr, u16 reason_code);
|
||||
int wpa_tdls_send_discovery_request(struct wpa_sm *sm, const u8 *addr);
|
||||
int wpa_tdls_init(struct wpa_sm *sm);
|
||||
|
|
Loading…
Reference in a new issue