Felix Fietkau 5c9fc93bc9 mac80211/minstrel: fix NULL pointer dereference issue
When priv_sta == NULL, mi->prev_sample is dereferenced too early. Move
the assignment further down, after the rate_control_send_low call.

Reported-by: Krzysztof Mazur <krzysiek@podlesie.net>
Cc: stable@vger.kernel.org # 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-07-16 17:48:14 +03:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2013-02-04 18:57:47 +01:00
2013-02-21 12:05:51 -08:00
2013-02-04 18:57:47 +01:00
2013-02-15 15:46:37 +01:00
2013-02-04 18:57:47 +01:00
2012-06-24 11:33:18 +02:00
2013-06-13 11:58:47 +02:00
2012-03-13 14:54:16 -04:00
2013-02-04 18:57:47 +01:00
2012-06-20 17:35:22 +02:00