Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291255
b: refs/heads/master
c: e7a0943
h: refs/heads/master
i:
  291253: 3a50f6c
  291251: cc135c9
  291247: 46d1346
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Mar 7, 2012
1 parent b001ca1 commit 5b61b80
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab5c0f1f2d525ed17f1abf727d213cf220ed26a8
refs/heads/master: e7a09438b3369732b9c5cfbca24d3bc894fc1ec1
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ void iwl_bg_watchdog(unsigned long data)
if (iwl_is_rfkill(priv->shrd))
return;

timeout = cfg(priv)->base_params->wd_timeout;
timeout = hw_params(priv).wd_timeout;
if (timeout == 0)
return;

Expand All @@ -1355,7 +1355,7 @@ void iwl_bg_watchdog(unsigned long data)

void iwl_setup_watchdog(struct iwl_priv *priv)
{
unsigned int timeout = cfg(priv)->base_params->wd_timeout;
unsigned int timeout = hw_params(priv).wd_timeout;

if (!iwlagn_mod_params.wd_disable) {
/* use system default */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/iwlwifi/iwl-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2368,7 +2368,7 @@ static ssize_t iwl_dbgfs_wd_timeout_write(struct file *file,
if (timeout < 0 || timeout > IWL_MAX_WD_TIMEOUT)
timeout = IWL_DEF_WD_TIMEOUT;

cfg(priv)->base_params->wd_timeout = timeout;
hw_params(priv).wd_timeout = timeout;
iwl_setup_watchdog(priv);
return count;
}
Expand Down

0 comments on commit 5b61b80

Please sign in to comment.