mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 11:48:23 -05:00
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>
This commit is contained in:
parent
77895cd937
commit
f48ffe4364
@ -104,7 +104,6 @@ struct wpa_driver_nl80211_data {
|
|||||||
int disable_11b_rates;
|
int disable_11b_rates;
|
||||||
|
|
||||||
unsigned int pending_remain_on_chan:1;
|
unsigned int pending_remain_on_chan:1;
|
||||||
unsigned int pending_send_action:1;
|
|
||||||
unsigned int added_bridge:1;
|
unsigned int added_bridge:1;
|
||||||
unsigned int added_if_into_bridge:1;
|
unsigned int added_if_into_bridge:1;
|
||||||
|
|
||||||
@ -5092,7 +5091,6 @@ static int wpa_driver_nl80211_send_action(void *priv, unsigned int freq,
|
|||||||
wpa_printf(MSG_DEBUG, "nl80211: Action TX command accepted; "
|
wpa_printf(MSG_DEBUG, "nl80211: Action TX command accepted; "
|
||||||
"cookie 0x%llx", (long long unsigned int) cookie);
|
"cookie 0x%llx", (long long unsigned int) cookie);
|
||||||
drv->send_action_cookie = cookie;
|
drv->send_action_cookie = cookie;
|
||||||
drv->pending_send_action = 1;
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
nla_put_failure:
|
nla_put_failure:
|
||||||
|
Loading…
Reference in New Issue
Block a user