From: Felix Fietkau Date: Tue, 22 Jul 2014 19:00:26 +0000 (+0200) Subject: mac80211: fix crash on getting sta info with uninitialized rate control X-Git-Tag: omap-for-v3.17/fixes-against-rc2~215^2~11^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa8f136fe9a8fbdcb11a1db94f30146cae6d8777;p=pandora-kernel.git mac80211: fix crash on getting sta info with uninitialized rate control If the expected throughput is queried before rate control has been initialized, the minstrel op for it will crash while trying to access the rate table. Check for WLAN_STA_RATE_CONTROL before attempting to use the rate control op. Reported-by: Jean-Pierre Tosoni Signed-off-by: Felix Fietkau Signed-off-by: Johannes Berg --- Reading git-diff-tree failed