Skip to content

Commit

Permalink
iwlagn: fix error in command waiting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Mar 23, 2011
1 parent 8bc8aec commit be36cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlwifi/iwl-agn-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit be36cac

Please sign in to comment.