lkml.org 
[lkml]   [2008]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 33/49] iwlwifi: fix suspend to RAM in iwlwifi
    2.6.27-stable review patch.  If anyone has any objections, please let us know.

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

    From: Tomas Winkler <tomas.winkler@intel.com>

    commit 10d0bd56966571d0324dfd9bbb8aa913a60bef5f upstream

    This patch fixes suspend to RAM after by moving
    notify_mac out of iwlwifi mutex

    http://bugzilla.kernel.org/show_bug.cgi?id=11845

    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
    Tested-by: Carlos R. Mafra <crmafra2@gmail.com>
    Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
    Cc: Rafael J. Wysocki <rjw@sisk.pl>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/net/wireless/iwlwifi/iwl-agn.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/net/wireless/iwlwifi/iwl-agn.c
    +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
    @@ -2090,7 +2090,6 @@ static void iwl_alive_start(struct iwl_p
    iwl4965_error_recovery(priv);

    iwl_power_update_mode(priv, 1);
    - ieee80211_notify_mac(priv->hw, IEEE80211_NOTIFY_RE_ASSOC);

    if (test_and_clear_bit(STATUS_MODE_PENDING, &priv->status))
    iwl4965_set_mode(priv, priv->iw_mode);
    @@ -2342,6 +2341,7 @@ static void iwl_bg_alive_start(struct wo
    mutex_lock(&priv->mutex);
    iwl_alive_start(priv);
    mutex_unlock(&priv->mutex);
    + ieee80211_notify_mac(priv->hw, IEEE80211_NOTIFY_RE_ASSOC);
    }

    static void iwl4965_bg_rf_kill(struct work_struct *work)
    --


    \
     
     \ /
      Last update: 2008-11-12 01:41    [W:4.553 / U:0.392 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site