From ecabb132b99b4dc4e8819c6471c168add8cb73ff Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 23 Jun 2012 20:34:29 +0300 Subject: [PATCH] atheros: Remove unused variables Signed-hostap: Jouni Malinen --- src/drivers/driver_atheros.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c index 6690bbbe8..980c29ee8 100644 --- a/src/drivers/driver_atheros.c +++ b/src/drivers/driver_atheros.c @@ -1654,16 +1654,12 @@ static int atheros_send_mgmt(void *priv, const u8 *frm, size_t data_len, { struct atheros_driver_data *drv = priv; u8 buf[1510]; - u16 fc; - u16 stype; const struct ieee80211_mgmt *mgmt; struct ieee80211req_mgmtbuf *mgmt_frm; mgmt = (const struct ieee80211_mgmt *) frm; wpa_printf(MSG_DEBUG, "%s frmlen = %lu " MACSTR, __func__, (unsigned long) data_len, MAC2STR(mgmt->da)); - fc = le_to_host16(mgmt->frame_control); - stype = WLAN_FC_GET_STYPE(fc); mgmt_frm = (struct ieee80211req_mgmtbuf *) buf; memcpy(mgmt_frm->macaddr, (u8 *)mgmt->da, IEEE80211_ADDR_LEN); mgmt_frm->buflen = data_len;