From: Andrei Otcheretianski Date: Tue, 9 Sep 2014 07:58:49 +0000 (+0300) Subject: iwlwifi: mvm: Refactor and fix max probe len computation X-Git-Tag: fixes-against-v3.18-rc2~144^2~39^2~74^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48849a4150e353656dc5d207f2a56ebd00484ce6;p=pandora-kernel.git iwlwifi: mvm: Refactor and fix max probe len computation Move iwl_mvm_max_scan_ie_len function to scan.c and fix the implementation to conform with the LMAC scan API. Since the correct implementation would leave us with unacceptably tiny probes, add a workaround which returns a larger value. In current implementation it's possible that unified_scan_lmac and unified_sched_scan_lmac would return -ENOBUFS. Signed-off-by: Andrei Otcheretianski Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed