diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-05-05 20:40:35 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-13 03:22:18 +0200 |
commit | df44205455773852a6af10a7c6ed768fe8a86b31 (patch) | |
tree | 46b34b0d88ff0edb7ae1d469f407c0d676e48f66 /net/mac80211/util.c | |
parent | rt2x00: Clean up error handling of PCI queue DMA allocation. (diff) | |
download | linux-df44205455773852a6af10a7c6ed768fe8a86b31.tar.xz linux-df44205455773852a6af10a7c6ed768fe8a86b31.zip |
mac80211: Don't encrypt beacons
mac80211 should set the IEEE80211_TX_CTL_DO_NOT_ENCRYPT flag in tx_control
structure to inform drivers not to encrypt the beacon. Drivers that only check
for that flag before accessing the hw_key field, will otherwise cause a NULL
pointer dereference since that field is not configured for beacons.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/util.c')
0 files changed, 0 insertions, 0 deletions