hostap: Remove unused variable in handle_frame()
Signed-off-by: Pavel Roskin <proski@gnu.org>
This commit is contained in:
parent
f11634bf5d
commit
374038fbde
1 changed files with 0 additions and 2 deletions
|
@ -148,7 +148,6 @@ static void handle_frame(struct hostap_driver_data *drv, u8 *buf, size_t len)
|
||||||
{
|
{
|
||||||
struct ieee80211_hdr *hdr;
|
struct ieee80211_hdr *hdr;
|
||||||
u16 fc, extra_len, type, stype;
|
u16 fc, extra_len, type, stype;
|
||||||
unsigned char *extra = NULL;
|
|
||||||
size_t data_len = len;
|
size_t data_len = len;
|
||||||
int ver;
|
int ver;
|
||||||
union wpa_event_data event;
|
union wpa_event_data event;
|
||||||
|
@ -185,7 +184,6 @@ static void handle_frame(struct hostap_driver_data *drv, u8 *buf, size_t len)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
len -= extra_len + 2;
|
len -= extra_len + 2;
|
||||||
extra = buf + len;
|
|
||||||
} else if (ver == 1 || ver == 2) {
|
} else if (ver == 1 || ver == 2) {
|
||||||
handle_tx_callback(drv, buf, data_len, ver == 2 ? 1 : 0);
|
handle_tx_callback(drv, buf, data_len, ver == 2 ? 1 : 0);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue