diff options
author | sam <sam@FreeBSD.org> | 2007-08-24 15:44:27 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2007-08-24 15:44:27 +0000 |
commit | a6937ee32125c9d414dd5a6d6190ca22e6b753e3 (patch) | |
tree | 08f74cc7adeb5e49b4c1121e439bafa604286888 /sys | |
parent | a943e77d3e92176f411d0a1b82d9a3a54b22d5fa (diff) | |
download | FreeBSD-src-a6937ee32125c9d414dd5a6d6190ca22e6b753e3.zip FreeBSD-src-a6937ee32125c9d414dd5a6d6190ca22e6b753e3.tar.gz |
drop frames marked for encryption when no key is available
Reviewed by: avatar
Approved by: re (kensmith)
Obtained from: madwifi
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net80211/ieee80211_output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c index 5b08f68..5041ac5 100644 --- a/sys/net80211/ieee80211_output.c +++ b/sys/net80211/ieee80211_output.c @@ -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; |