From: Luciano Coelho Date: Thu, 2 Apr 2015 12:37:05 +0000 (+0300) Subject: iwlwifi: mvm: combine ssid_bitmap setting for regular scans X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~33^2~18 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ef766fe785ddcda29057f64b30f19e9bdfabe12;p=pandora-kernel.git iwlwifi: mvm: combine ssid_bitmap setting for regular scans The only difference in the ssid_bitmap between LMAC and UMAC scans is that in LMAC bits 1 to 20 are used, while in UMAC bits 0 to 19 are used (*sigh*). So we can combine the bitmap creation into a single function and simply shift left if LMAC is used. Signed-off-by: Luciano Coelho Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed