mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
ap: Drop unused variable
This commit is contained in:
parent
d55e00b31d
commit
137309c998
3
src/ap.c
3
src/ap.c
@ -443,12 +443,9 @@ static void ap_start_rsna(struct sta_state *sta, const uint8_t *gtk_rsc)
|
|||||||
struct ap_state *ap = sta->ap;
|
struct ap_state *ap = sta->ap;
|
||||||
struct netdev *netdev = sta->ap->netdev;
|
struct netdev *netdev = sta->ap->netdev;
|
||||||
const uint8_t *own_addr = netdev_get_address(netdev);
|
const uint8_t *own_addr = netdev_get_address(netdev);
|
||||||
struct scan_bss bss;
|
|
||||||
struct ie_rsn_info rsn;
|
struct ie_rsn_info rsn;
|
||||||
uint8_t bss_rsne[24];
|
uint8_t bss_rsne[24];
|
||||||
|
|
||||||
memset(&bss, 0, sizeof(bss));
|
|
||||||
|
|
||||||
ap_set_rsn_info(ap, &rsn);
|
ap_set_rsn_info(ap, &rsn);
|
||||||
/*
|
/*
|
||||||
* TODO: This assumes the length that ap_set_rsn_info() requires. If
|
* TODO: This assumes the length that ap_set_rsn_info() requires. If
|
||||||
|
Loading…
Reference in New Issue
Block a user