Commit 56ca84c6 authored by Holger Schurig's avatar Holger Schurig Committed by John W. Linville

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: default avatarHolger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d9e9778c
...@@ -1379,8 +1379,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, ...@@ -1379,8 +1379,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv,
case CMD_802_11_AD_HOC_START: case CMD_802_11_AD_HOC_START:
ret = lbs_cmd_80211_ad_hoc_start(priv, cmdptr, pdata_buf); ret = lbs_cmd_80211_ad_hoc_start(priv, cmdptr, pdata_buf);
break; break;
case CMD_CODE_DNLD:
break;
case CMD_802_11_RESET: case CMD_802_11_RESET:
ret = lbs_cmd_802_11_reset(priv, cmdptr, cmd_action); 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,11 +1438,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv,
ret = lbs_cmd_80211_ad_hoc_stop(priv, cmdptr); ret = lbs_cmd_80211_ad_hoc_stop(priv, cmdptr);
break; break;
case CMD_802_11_PAIRWISE_TSC:
break;
case CMD_802_11_GROUP_TSC:
break;
case CMD_802_11_MAC_ADDRESS: case CMD_802_11_MAC_ADDRESS:
ret = lbs_cmd_802_11_mac_address(priv, cmdptr, cmd_action); ret = lbs_cmd_802_11_mac_address(priv, cmdptr, cmd_action);
break; break;
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#define CMD_RET_802_11_ASSOCIATE 0x8012 #define CMD_RET_802_11_ASSOCIATE 0x8012
/* Command codes */ /* Command codes */
#define CMD_CODE_DNLD 0x0002
#define CMD_GET_HW_SPEC 0x0003 #define CMD_GET_HW_SPEC 0x0003
#define CMD_EEPROM_UPDATE 0x0004 #define CMD_EEPROM_UPDATE 0x0004
#define CMD_802_11_RESET 0x0005 #define CMD_802_11_RESET 0x0005
...@@ -68,8 +67,6 @@ ...@@ -68,8 +67,6 @@
#define CMD_802_11_AD_HOC_JOIN 0x002c #define CMD_802_11_AD_HOC_JOIN 0x002c
#define CMD_802_11_QUERY_TKIP_REPLY_CNTRS 0x002e #define CMD_802_11_QUERY_TKIP_REPLY_CNTRS 0x002e
#define CMD_802_11_ENABLE_RSN 0x002f #define CMD_802_11_ENABLE_RSN 0x002f
#define CMD_802_11_PAIRWISE_TSC 0x0036
#define CMD_802_11_GROUP_TSC 0x0037
#define CMD_802_11_SET_AFC 0x003c #define CMD_802_11_SET_AFC 0x003c
#define CMD_802_11_GET_AFC 0x003d #define CMD_802_11_GET_AFC 0x003d
#define CMD_802_11_AD_HOC_STOP 0x0040 #define CMD_802_11_AD_HOC_STOP 0x0040
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment