aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_atheros.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-06-23 17:34:29 (GMT)
committerJouni Malinen <j@w1.fi>2012-06-23 17:34:29 (GMT)
commitecabb132b99b4dc4e8819c6471c168add8cb73ff (patch)
tree89b63a9defa15f51325e3c54ae907315bd2b7a3e /src/drivers/driver_atheros.c
parente2e984ea06393ddc1277d5375e0e2b498147cf05 (diff)
downloadhostap-ecabb132b99b4dc4e8819c6471c168add8cb73ff.zip
hostap-ecabb132b99b4dc4e8819c6471c168add8cb73ff.tar.gz
hostap-ecabb132b99b4dc4e8819c6471c168add8cb73ff.tar.bz2
atheros: Remove unused variables
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/drivers/driver_atheros.c')
-rw-r--r--src/drivers/driver_atheros.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index 6690bbb..980c29e 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;