ath9k: Null out references to stale pointers.
authorBen Greear <greearb@candelatech.com>
Thu, 14 Oct 2010 19:45:30 +0000 (12:45 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 15 Oct 2010 19:57:42 +0000 (15:57 -0400)
commit6cf9e995f91e5bbffb2bef85feef490e5b67605d
tree11d458a9a447fadb4b85a90664d327055f67b66f
parentc1739eb3e61e160f124bc842c219011916f63068
ath9k: Null out references to stale pointers.

This doesn't fix any problem that I'm aware of, but should
make it harder to add use-after-free type bugs in the
future.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/recv.c
drivers/net/wireless/ath/ath9k/xmit.c