From d84b91395511ec21bb2b645bdce7f4737284a49e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 28 Apr 2012 18:30:41 +0300 Subject: [PATCH] Remove unused variable Signed-hostap: Jouni Malinen --- src/ap/gas_serv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ap/gas_serv.c b/src/ap/gas_serv.c index a2827e269..2177b02a3 100644 --- a/src/ap/gas_serv.c +++ b/src/ap/gas_serv.c @@ -635,7 +635,7 @@ static void gas_serv_rx_public_action(void *ctx, const u8 *buf, size_t len, struct hostapd_data *hapd = ctx; const struct ieee80211_mgmt *mgmt; size_t hdr_len; - const u8 *sa, *bssid, *data; + const u8 *sa, *data; mgmt = (const struct ieee80211_mgmt *) buf; hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf; @@ -644,7 +644,6 @@ static void gas_serv_rx_public_action(void *ctx, const u8 *buf, size_t len, if (mgmt->u.action.category != WLAN_ACTION_PUBLIC) return; sa = mgmt->sa; - bssid = mgmt->bssid; len -= hdr_len; data = &mgmt->u.action.u.public_action.action; switch (data[0]) {