From: Johannes Berg Date: Tue, 22 Mar 2011 10:00:37 +0000 (+0100) Subject: iwlagn: fix error in command waiting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=be36cacdddcc119ef7b33ae0b91631c3535a75ca;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git iwlagn: fix error in command waiting Clearly a mistake, since pointers won't suddenly change their value... Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c index 2003c1d4295f..08ccb9496f76 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c @@ -2265,7 +2265,7 @@ signed long iwlagn_wait_notification(struct iwl_priv *priv, int ret; ret = wait_event_timeout(priv->_agn.notif_waitq, - &wait_entry->triggered, + wait_entry->triggered, timeout); spin_lock_bh(&priv->_agn.notif_wait_lock);