From: Eliad Peller Date: Mon, 26 May 2014 15:44:35 +0000 (+0300) Subject: iwlwifi: mvm: rework sched scan channel configuration X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~210^2~72^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89879413eba4d9f57b69f84a32fd085d54057df3;p=pandora-kernel.git iwlwifi: mvm: rework sched scan channel configuration The current sched scan channel configuration code configures all the supported channels for scanning. However, this can result in SYSASSERT in some cases, when the configured channel is disabled. Instead, configure only the channels given in the req struct, and set the channel_count field appropriately. While on it, change the code to use channel->hw_value instead of recalculating the channel number. Signed-off-by: Eliad Peller Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed