iwlagn: fix error in command waiting
authorJohannes Berg <johannes.berg@intel.com>
Tue, 22 Mar 2011 10:00:37 +0000 (11:00 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Mar 2011 19:22:04 +0000 (15:22 -0400)
Clearly a mistake, since pointers won't suddenly
change their value...

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-lib.c

index 2003c1d4295f3a480328cf9b8341a959c243a10b..08ccb9496f7679317b21c8112332a67fc765bec8 100644 (file)
@@ -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);