Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92003
b: refs/heads/master
c: 4d381ff
h: refs/heads/master
i:
  92001: 7c075d8
  91999: c380add
v: v3
  • Loading branch information
Roel Kluin authored and John W. Linville committed Apr 24, 2008
1 parent 528551a commit b269d76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 8ba82e969f71d088f718f93d64985d5fcdd9c171
refs/heads/master: 4d381ffb02701c3fc976091473aead7c03523133
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/rndis_wlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -2402,7 +2402,6 @@ static int bcm4320_early_init(struct usbnet *dev)
priv->param_power_output = modparam_power_output;
priv->param_roamtrigger = modparam_roamtrigger;
priv->param_roamdelta = modparam_roamdelta;
priv->param_workaround_interval = modparam_workaround_interval;

priv->param_country[0] = toupper(priv->param_country[0]);
priv->param_country[1] = toupper(priv->param_country[1]);
Expand All @@ -2425,8 +2424,10 @@ static int bcm4320_early_init(struct usbnet *dev)
else if (priv->param_roamdelta > 2)
priv->param_roamdelta = 2;

if (priv->param_workaround_interval < 0)
if (modparam_workaround_interval < 0)
priv->param_workaround_interval = 500;
else
priv->param_workaround_interval = modparam_workaround_interval;

rndis_set_config_parameter_str(dev, "Country", priv->param_country);
rndis_set_config_parameter_str(dev, "FrameBursting",
Expand Down

0 comments on commit b269d76

Please sign in to comment.