summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2012-04-06 16:54:17 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-04-09 15:54:49 -0400
commite89f7690a3adbde0af7c294f83c242ba6a367ef0 (patch)
treeb7d886c9e9f43644f2138b222c213ad5ab670322 /net/wireless
parentaa331df0e5e6ebac086ed80b4fbbfd912fe6b32a (diff)
downloadlinux-stable-e89f7690a3adbde0af7c294f83c242ba6a367ef0.tar.gz
linux-stable-e89f7690a3adbde0af7c294f83c242ba6a367ef0.tar.bz2
linux-stable-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')
0 files changed, 0 insertions, 0 deletions