commit | e89f7690a3adbde0af7c294f83c242ba6a367ef0 | [log] [tgz] |
---|---|---|
author | Larry Finger <Larry.Finger@lwfinger.net> | Fri Apr 06 16:54:17 2012 -0500 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Apr 09 15:54:49 2012 -0400 |
tree | b7d886c9e9f43644f2138b222c213ad5ab670322 | |
parent | aa331df0e5e6ebac086ed80b4fbbfd912fe6b32a [diff] |
rtlwifi: Fix oops on rate-control failure When the rate-control indexing is incorrectly set up, mac80211 issues a warning and returns NULL from the call to ieee80211_get_tx_rate(). When this happens, avoid a NULL pointer dereference. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>