3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

ap: Drop unused variable

This commit is contained in:
Andrew Zaborowski 2020-08-27 20:14:47 +02:00 committed by Denis Kenzior
parent d55e00b31d
commit 137309c998

View File

@ -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 netdev *netdev = sta->ap->netdev;
const uint8_t *own_addr = netdev_get_address(netdev);
struct scan_bss bss;
struct ie_rsn_info rsn;
uint8_t bss_rsne[24];
memset(&bss, 0, sizeof(bss));
ap_set_rsn_info(ap, &rsn);
/*
* TODO: This assumes the length that ap_set_rsn_info() requires. If