diff options
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index 6ebdd7f161f1..82c3e5a50ea6 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c | |||
@@ -1025,6 +1025,18 @@ static int lbs_set_rate(struct net_device *dev, struct iw_request_info *info, | |||
1025 | new_rate); | 1025 | new_rate); |
1026 | goto out; | 1026 | goto out; |
1027 | } | 1027 | } |
1028 | if (priv->fwrelease < 0x09000000) { | ||
1029 | ret = lbs_set_power_adapt_cfg(priv, 0, | ||
1030 | POW_ADAPT_DEFAULT_P0, | ||
1031 | POW_ADAPT_DEFAULT_P1, | ||
1032 | POW_ADAPT_DEFAULT_P2); | ||
1033 | if (ret) | ||
1034 | goto out; | ||
1035 | } | ||
1036 | ret = lbs_set_tpc_cfg(priv, 0, TPC_DEFAULT_P0, TPC_DEFAULT_P1, | ||
1037 | TPC_DEFAULT_P2, 1); | ||
1038 | if (ret) | ||
1039 | goto out; | ||
1028 | } | 1040 | } |
1029 | 1041 | ||
1030 | /* Try the newer command first (Firmware Spec 5.1 and above) */ | 1042 | /* Try the newer command first (Firmware Spec 5.1 and above) */ |