From: Luciano Coelho Date: Fri, 27 Mar 2015 07:28:26 +0000 (+0300) Subject: iwlwifi: mvm: combine scan size checks into a common function X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~33^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=999d2568ee0c2bbdf71a414e85fffe5d58fe766a;p=pandora-kernel.git iwlwifi: mvm: combine scan size checks into a common function Instead of repeating the same code in 4 different places, combine the comparisons into a new function. Additionally, this change fixes UMAC scans where the RRM IEs were not taken into consideration when calculating the IE length. Signed-off-by: Luciano Coelho Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed