diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2008-03-12 12:06:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-25 16:41:45 -0400 |
commit | 56ca84c61b667e23cdc6e5179df57b9baa0eddc3 (patch) | |
tree | 38393fe19758d20c9aa067ba69f8b2a88f0ea5a1 /drivers | |
parent | d9e9778c2ac5bac02fc118e9a2954e4c70f88eb6 (diff) |
libertas: remove some unused commands
Neither CMD_802_11_PAIRWISE_TSC nor CMD_802_11_GROUP_TSC is used or
documented. It might have something to do with TKIP sequence counters,
but that's just an educated guess. Remove all occurences of them.
CMD_CODE_DNLD is also neither used nor documented.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 7 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/host.h | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 4fcf5e1d98aa..62f9f3bdfdfb 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -1379,8 +1379,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
1379 | case CMD_802_11_AD_HOC_START: | 1379 | case CMD_802_11_AD_HOC_START: |
1380 | ret = lbs_cmd_80211_ad_hoc_start(priv, cmdptr, pdata_buf); | 1380 | ret = lbs_cmd_80211_ad_hoc_start(priv, cmdptr, pdata_buf); |
1381 | break; | 1381 | break; |
1382 | case CMD_CODE_DNLD: | ||
1383 | break; | ||
1384 | 1382 | ||
1385 | case CMD_802_11_RESET: | 1383 | case CMD_802_11_RESET: |
1386 | ret = lbs_cmd_802_11_reset(priv, cmdptr, cmd_action); | 1384 | ret = lbs_cmd_802_11_reset(priv, cmdptr, cmd_action); |
@@ -1440,11 +1438,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
1440 | ret = lbs_cmd_80211_ad_hoc_stop(priv, cmdptr); | 1438 | ret = lbs_cmd_80211_ad_hoc_stop(priv, cmdptr); |
1441 | break; | 1439 | break; |
1442 | 1440 | ||
1443 | case CMD_802_11_PAIRWISE_TSC: | ||
1444 | break; | ||
1445 | case CMD_802_11_GROUP_TSC: | ||
1446 | break; | ||
1447 | |||
1448 | case CMD_802_11_MAC_ADDRESS: | 1441 | case CMD_802_11_MAC_ADDRESS: |
1449 | ret = lbs_cmd_802_11_mac_address(priv, cmdptr, cmd_action); | 1442 | ret = lbs_cmd_802_11_mac_address(priv, cmdptr, cmd_action); |
1450 | break; | 1443 | break; |
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h index 1aa04076b1ac..aae878b042c0 100644 --- a/drivers/net/wireless/libertas/host.h +++ b/drivers/net/wireless/libertas/host.h | |||
@@ -33,7 +33,6 @@ | |||
33 | #define CMD_RET_802_11_ASSOCIATE 0x8012 | 33 | #define CMD_RET_802_11_ASSOCIATE 0x8012 |
34 | 34 | ||
35 | /* Command codes */ | 35 | /* Command codes */ |
36 | #define CMD_CODE_DNLD 0x0002 | ||
37 | #define CMD_GET_HW_SPEC 0x0003 | 36 | #define CMD_GET_HW_SPEC 0x0003 |
38 | #define CMD_EEPROM_UPDATE 0x0004 | 37 | #define CMD_EEPROM_UPDATE 0x0004 |
39 | #define CMD_802_11_RESET 0x0005 | 38 | #define CMD_802_11_RESET 0x0005 |
@@ -68,8 +67,6 @@ | |||
68 | #define CMD_802_11_AD_HOC_JOIN 0x002c | 67 | #define CMD_802_11_AD_HOC_JOIN 0x002c |
69 | #define CMD_802_11_QUERY_TKIP_REPLY_CNTRS 0x002e | 68 | #define CMD_802_11_QUERY_TKIP_REPLY_CNTRS 0x002e |
70 | #define CMD_802_11_ENABLE_RSN 0x002f | 69 | #define CMD_802_11_ENABLE_RSN 0x002f |
71 | #define CMD_802_11_PAIRWISE_TSC 0x0036 | ||
72 | #define CMD_802_11_GROUP_TSC 0x0037 | ||
73 | #define CMD_802_11_SET_AFC 0x003c | 70 | #define CMD_802_11_SET_AFC 0x003c |
74 | #define CMD_802_11_GET_AFC 0x003d | 71 | #define CMD_802_11_GET_AFC 0x003d |
75 | #define CMD_802_11_AD_HOC_STOP 0x0040 | 72 | #define CMD_802_11_AD_HOC_STOP 0x0040 |