diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2012-04-06 16:54:17 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-09 15:54:49 -0400 |
commit | e89f7690a3adbde0af7c294f83c242ba6a367ef0 (patch) | |
tree | b7d886c9e9f43644f2138b222c213ad5ab670322 /net/wireless/wext-core.c | |
parent | aa331df0e5e6ebac086ed80b4fbbfd912fe6b32a (diff) | |
download | linux-e89f7690a3adbde0af7c294f83c242ba6a367ef0.tar.gz linux-e89f7690a3adbde0af7c294f83c242ba6a367ef0.tar.bz2 linux-e89f7690a3adbde0af7c294f83c242ba6a367ef0.zip |
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>
Diffstat (limited to 'net/wireless/wext-core.c')
0 files changed, 0 insertions, 0 deletions