]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Don't encrypt beacons
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 5 May 2008 18:40:35 +0000 (20:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2008 01:22:18 +0000 (21:22 -0400)
commitcac289d31bbd59a864fdb12547e1e4aaf0e14db3
tree46b34b0d88ff0edb7ae1d469f407c0d676e48f66
parentb4f161e9a047c2b280de1a23c626b043e33c8977
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>
net/mac80211/tx.c