lkml.org 
[lkml]   [2013]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[ 016/127] iwlwifi: mvm: Always use SCAN_TYPE_FORCED
    Date
    3.9-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Ilan Peer <ilan.peer@intel.com>

    commit f70ed7b330ce769828d402f920fb13da6c13ea63 upstream.

    The FW AUX framework does not handle well cases where time events
    fail to be scheduled (and as a result issues assert 0x3330). Until
    a proper fix is in place, WA this by always setting the scan type to
    SCAN_TYPE_FORCED.

    Signed-off-by: Ilan Peer <ilan.peer@intel.com>
    Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/net/wireless/iwlwifi/mvm/scan.c | 6 ++++++
    1 file changed, 6 insertions(+)

    --- a/drivers/net/wireless/iwlwifi/mvm/scan.c
    +++ b/drivers/net/wireless/iwlwifi/mvm/scan.c
    @@ -298,6 +298,12 @@ int iwl_mvm_scan_request(struct iwl_mvm
    else
    cmd->type = cpu_to_le32(SCAN_TYPE_FORCED);

    + /*
    + * TODO: This is a WA due to a bug in the FW AUX framework that does not
    + * properly handle time events that fail to be scheduled
    + */
    + cmd->type = cpu_to_le32(SCAN_TYPE_FORCED);
    +
    cmd->repeats = cpu_to_le32(1);

    /*



    \
     
     \ /
      Last update: 2013-06-06 00:41    [W:4.201 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site