drop frames marked for encryption when no key is available
Reviewed by: avatar Approved by: re (kensmith) Obtained from: madwifi
This commit is contained in:
parent
78ef8ac132
commit
d72c72537e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171950
@ -663,6 +663,7 @@ ieee80211_encap(struct ieee80211com *ic, struct mbuf *m,
|
||||
ether_sprintf(eh.ether_dhost), __func__,
|
||||
ic->ic_def_txkey);
|
||||
ic->ic_stats.is_tx_nodefkey++;
|
||||
goto bad;
|
||||
}
|
||||
} else
|
||||
key = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user