]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: check for NULL rate when using ieee80211_get_rts_cts_rate()
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Tue, 15 Oct 2013 00:42:10 +0000 (17:42 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 18:04:41 +0000 (14:04 -0400)
commitd7d4db2bf8be2a004d51a0a3bbd43a06fca5b9f6
treef9da20b6e4d6c86a5b2714262695e813a2266f8a
parent743f2bde9450fbba976bdcead9098a4ec7e1a36b
ath9k: check for NULL rate when using ieee80211_get_rts_cts_rate()

ieee80211_get_rts_cts_rate() can return NULL, so don't rely
on its members when it does return NULL.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c