aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-08-11 10:20:51 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-05 14:28:08 (GMT)
commitacd1b49efad693faf451e6d424f52cc79cbd1c88 (patch)
tree1e658b62a76065b8e6a6d962199295e055f7728c
parentae934b1b4eb8ab2109e0c67baffd7b9fa96a3bc6 (diff)
downloadhostap-07-acd1b49efad693faf451e6d424f52cc79cbd1c88.zip
hostap-07-acd1b49efad693faf451e6d424f52cc79cbd1c88.tar.gz
hostap-07-acd1b49efad693faf451e6d424f52cc79cbd1c88.tar.bz2
nl80211: Remove unused pending_send_action
This variable is assigned only once and never tested, so basically unused. Signed-off-by: Johannes Berg <johannes.berg@intel.com> (cherry picked from commit f48ffe4364e1b03044b7b3d5a59f0c8f0506ba9d)
-rw-r--r--src/drivers/driver_nl80211.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index a123327..68a43c6 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -101,7 +101,6 @@ struct wpa_driver_nl80211_data {
int disable_11b_rates;
unsigned int pending_remain_on_chan:1;
- unsigned int pending_send_action:1;
unsigned int added_bridge:1;
unsigned int added_if_into_bridge:1;
@@ -5002,7 +5001,6 @@ static int wpa_driver_nl80211_send_action(void *priv, unsigned int freq,
wpa_printf(MSG_DEBUG, "nl80211: Action TX command accepted; "
"cookie 0x%llx", (long long unsigned int) cookie);
drv->send_action_cookie = cookie;
- drv->pending_send_action = 1;
ret = 0;
nla_put_failure: