From: Sujith Manoharan Date: Wed, 14 Aug 2013 15:45:56 +0000 (+0530) Subject: ath9k: Optimize LNA check X-Git-Tag: v3.12-rc1~132^2~84^2^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3124df7962f7a58177073d54d451e1661ffb71f;p=pandora-kernel.git ath9k: Optimize LNA check The documentation for antenna diversity says: "The decision of diversity is done at 802.11 preamble. So, for 11G/11B, for every MAC packet hardware will do a decision. But in 11N with aggregation, the decision is made only at the preamble and all other MPDUs will use the same LNA as the first MPDU." Make use of rs_firstaggr to avoid needlessly scanning for LNA changes. Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- Reading git-diff-tree failed