Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21182
b: refs/heads/master
c: 4bfdb91
h: refs/heads/master
v: v3
  • Loading branch information
Zhu Yi authored and John W. Linville committed Jan 31, 2006
1 parent ca09d7d commit fd6d8c5
Show file tree
Hide file tree
Showing 2 changed files with 8 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: ede6111cae6a83fbb0b6b621b4333d1a3983c089
refs/heads/master: 4bfdb91dcff0dd4b70922de263ccffffb8fb1d16
10 changes: 7 additions & 3 deletions trunk/drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ static int led = 0;
static int disable = 0;
static int bt_coexist = 0;
static int hwcrypto = 1;
static int roaming = 1;
static const char ipw_modes[] = {
'a', 'b', 'g', '?'
};
Expand Down Expand Up @@ -4187,8 +4188,9 @@ static void ipw_handle_missed_beacon(struct ipw_priv *priv,
return;
}

if (missed_count > priv->roaming_threshold &&
missed_count <= priv->disassociate_threshold) {
if (roaming &&
(missed_count > priv->roaming_threshold &&
missed_count <= priv->disassociate_threshold)) {
/* If we are not already roaming, set the ROAM
* bit in the status and kick off a scan.
* This can happen several times before we reach
Expand Down Expand Up @@ -4216,7 +4218,6 @@ static void ipw_handle_missed_beacon(struct ipw_priv *priv,
}

IPW_DEBUG_NOTIF("Missed beacon: %d\n", missed_count);

}

/**
Expand Down Expand Up @@ -11378,5 +11379,8 @@ module_param(cmdlog, int, 0444);
MODULE_PARM_DESC(cmdlog,
"allocate a ring buffer for logging firmware commands");

module_param(roaming, int, 0444);
MODULE_PARM_DESC(roaming, "enable roaming support (default on)");

module_exit(ipw_exit);
module_init(ipw_init);

0 comments on commit fd6d8c5

Please sign in to comment.