ath9k: Fix a NULL pointer dereference in ath_rate_get
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 17 Dec 2008 11:30:31 +0000 (13:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Dec 2008 20:23:44 +0000 (15:23 -0500)
It looks like mac80211 may try to send unicast frames to a STA that
does not have a STA entry. We need to make sure that that is caught in
the rate control code before dereferencing STA data.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found