From: Yogesh Ashok Powar Date: Mon, 6 Jun 2011 09:19:32 +0000 (+0530) Subject: mwifiex: remove list traversal in mwifiex_num_pkts_in_txq X-Git-Tag: v3.1-rc1~316^2~450^2~57^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcf2176c87af77e5ee947edaf8e390bc67b729d8;p=pandora-kernel.git mwifiex: remove list traversal in mwifiex_num_pkts_in_txq Instead of counting the number of packets in txq for particular RA list before AMSDU creation, maintain a counter which will keep track of the same. This will reduce some MIPS while generating AMSDU traffic as we only have to check the counter instead of traversing through skb list. Signed-off-by: Yogesh Ashok Powar Signed-off-by: John W. Linville --- Reading git-diff-tree failed