From: Zhaoyang Liu Date: Fri, 13 Mar 2015 12:07:55 +0000 (+0530) Subject: mwifiex: get rid of BA setup helper functions X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~95^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39df5e8233bf34696204207c7594a0a6320fa044;p=pandora-kernel.git mwifiex: get rid of BA setup helper functions This patch removes BA setup helper routines mwifiex_is_bastream_setup and mwifiex_is_amsdu_in_ampdu_allowed. Current code will use two functions to check bastream setup and amsdu in ampdu. This patch change these functions to flags, thus avoiding redundant spin_lock check while dequeuing TX packets. Signed-off-by: Zhaoyang Liu Reviewed-by: Cathy Luo Reviewed-by: Avinash Patil Signed-off-by: Kalle Valo --- Reading git-diff-tree failed