From: Larry Finger Date: Fri, 6 Apr 2012 21:54:17 +0000 (-0500) Subject: rtlwifi: Fix oops on rate-control failure X-Git-Tag: v3.4-rc3~32^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e89f7690a3adbde0af7c294f83c242ba6a367ef0;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed