diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index ac56f8d9a5e..18c9931e326 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
@@ -2470,6 +2470,11 @@ static int bcm4320_early_init(struct usbnet *dev) | |||
2470 | else if (priv->param_power_save > 2) | 2470 | else if (priv->param_power_save > 2) |
2471 | priv->param_power_save = 2; | 2471 | priv->param_power_save = 2; |
2472 | 2472 | ||
2473 | if (priv->param_power_output < 0) | ||
2474 | priv->param_power_output = 0; | ||
2475 | else if (priv->param_power_output > 3) | ||
2476 | priv->param_power_output = 3; | ||
2477 | |||
2473 | if (priv->param_roamtrigger < -80) | 2478 | if (priv->param_roamtrigger < -80) |
2474 | priv->param_roamtrigger = -80; | 2479 | priv->param_roamtrigger = -80; |
2475 | else if (priv->param_roamtrigger > -60) | 2480 | else if (priv->param_roamtrigger > -60) |