From: Helmut Schaa Date: Wed, 9 Mar 2011 09:02:38 +0000 (+0100) Subject: mac80211: Shortcut minstrel_ht rate setup for non-MRR capable devices X-Git-Tag: v2.6.39-rc1~468^2~25^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf28d7934c57168d530b606c26ab955a56eb13f9;p=pandora-kernel.git mac80211: Shortcut minstrel_ht rate setup for non-MRR capable devices Devices without multi rate retry support won't be able to use all rates as specified by mintrel_ht. Hence, we can simply skip setting up further rates as the devices will only use the first one. Also add a special case for devices with only two possible tx rates. We use sample_rate -> max_prob_rate for sampling and max_tp_rate -> max_prob_rate by default. Signed-off-by: Helmut Schaa Signed-off-by: John W. Linville --- Reading git-diff-tree failed