Files
linux/drivers/net/wireless
John W. Linville 34cee821ec ath5k: check return value of ieee80211_get_tx_rate
commit d8e1ba76d6 upstream.

This avoids a NULL pointer dereference as reported here:

	https://bugzilla.redhat.com/show_bug.cgi?id=625889

When the WARN condition is hit in ieee80211_get_tx_rate, it will return
NULL.  So, we need to check the return value and avoid dereferencing it
in that case.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-20 13:17:55 -07:00
..
2010-04-26 07:41:32 -07:00
2010-08-10 10:20:41 -07:00
2010-07-05 11:10:28 -07:00
2010-07-05 11:11:13 -07:00
2010-03-15 08:49:37 -07:00
2009-10-29 09:01:07 -07:00