diff options
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index 7cfca5f3a5ef..115f02c010a1 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c | |||
@@ -1128,7 +1128,7 @@ static int wlan_set_rate(struct net_device *dev, struct iw_request_info *info, | |||
1128 | lbs_deb_wext("vwrq->value %d\n", vwrq->value); | 1128 | lbs_deb_wext("vwrq->value %d\n", vwrq->value); |
1129 | 1129 | ||
1130 | if (vwrq->value == -1) { | 1130 | if (vwrq->value == -1) { |
1131 | action = CMD_ACT_SET_tx_auto; // Auto | 1131 | action = CMD_ACT_SET_TX_AUTO; // Auto |
1132 | adapter->is_datarate_auto = 1; | 1132 | adapter->is_datarate_auto = 1; |
1133 | adapter->datarate = 0; | 1133 | adapter->datarate = 0; |
1134 | } else { | 1134 | } else { |
@@ -1155,7 +1155,7 @@ static int wlan_set_rate(struct net_device *dev, struct iw_request_info *info, | |||
1155 | } | 1155 | } |
1156 | 1156 | ||
1157 | adapter->datarate = data_rate; | 1157 | adapter->datarate = data_rate; |
1158 | action = CMD_ACT_SET_tx_fix_rate; | 1158 | action = CMD_ACT_SET_TX_FIX_RATE; |
1159 | adapter->is_datarate_auto = 0; | 1159 | adapter->is_datarate_auto = 0; |
1160 | } | 1160 | } |
1161 | 1161 | ||