iwlagn: fix error in command waiting

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>
This commit is contained in:
Johannes Berg 2011-03-22 11:00:37 +01:00 committed by John W. Linville
parent 8bc8aecdc5
commit be36cacddd

View 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);