diff options
author | Dan Williams <dcbw@redhat.com> | 2007-08-02 11:35:46 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:46 -0400 |
commit | ffcae953ac021f5051a201c18e133cb0ce38c2b9 (patch) | |
tree | 03ed982801c46501daf025c95401494359baf0ed /drivers/net/wireless/libertas/cmd.c | |
parent | 125dcabf724bdfbe55240aef3b35b0ca16f3d61d (diff) |
[PATCH] libertas: fix more mixed-case abuse
Mistakently introduced by a previous patch to upper-case all command
constants.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 401a630ed4e5..c96ced963d69 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -566,7 +566,7 @@ static int wlan_cmd_802_11_rf_antenna(wlan_private * priv, | |||
566 | S_DS_GEN); | 566 | S_DS_GEN); |
567 | 567 | ||
568 | rant->action = cpu_to_le16(cmd_action); | 568 | rant->action = cpu_to_le16(cmd_action); |
569 | if ((cmd_action == CMD_ACT_SET_rx) || (cmd_action == CMD_ACT_SET_tx)) { | 569 | if ((cmd_action == CMD_ACT_SET_RX) || (cmd_action == CMD_ACT_SET_TX)) { |
570 | rant->antennamode = cpu_to_le16((u16) (*(u32 *) pdata_buf)); | 570 | rant->antennamode = cpu_to_le16((u16) (*(u32 *) pdata_buf)); |
571 | } | 571 | } |
572 | 572 | ||
@@ -614,11 +614,11 @@ static int wlan_cmd_802_11_data_rate(wlan_private * priv, | |||
614 | 614 | ||
615 | pdatarate->action = cpu_to_le16(cmd_action); | 615 | pdatarate->action = cpu_to_le16(cmd_action); |
616 | 616 | ||
617 | if (cmd_action == CMD_ACT_SET_tx_fix_rate) { | 617 | if (cmd_action == CMD_ACT_SET_TX_FIX_RATE) { |
618 | pdatarate->datarate[0] = libertas_data_rate_to_index(adapter->datarate); | 618 | pdatarate->datarate[0] = libertas_data_rate_to_index(adapter->datarate); |
619 | lbs_deb_cmd("Setting FW for fixed rate 0x%02X\n", | 619 | lbs_deb_cmd("Setting FW for fixed rate 0x%02X\n", |
620 | adapter->datarate); | 620 | adapter->datarate); |
621 | } else if (cmd_action == CMD_ACT_SET_tx_auto) { | 621 | } else if (cmd_action == CMD_ACT_SET_TX_AUTO) { |
622 | lbs_deb_cmd("Setting FW for AUTO rate\n"); | 622 | lbs_deb_cmd("Setting FW for AUTO rate\n"); |
623 | } | 623 | } |
624 | 624 | ||