summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/wcmd.h
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-07-13 10:42:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-13 12:22:34 -0700
commit80f0d0923f7a8f580db2415e30580585e5d7f272 (patch)
tree97b64a3c348a752b67328d4c4fe902d1b14cd7dc /drivers/staging/vt6656/wcmd.h
parentf6a7125c82e8904436d09cf9002194143e4d7019 (diff)
staging: vt6656: replace typedef enum tagCMD_CODE with enum vnt_cmd
Replacing the variables. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/wcmd.h')
-rw-r--r--drivers/staging/vt6656/wcmd.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/staging/vt6656/wcmd.h b/drivers/staging/vt6656/wcmd.h
index 98387f33f1ff..1d0201a49c69 100644
--- a/drivers/staging/vt6656/wcmd.h
+++ b/drivers/staging/vt6656/wcmd.h
@@ -34,15 +34,15 @@
#define AUTHENTICATE_TIMEOUT 1000 //ms
#define ASSOCIATE_TIMEOUT 1000 //ms
-// Command code
-typedef enum tagCMD_CODE {
- WLAN_CMD_INIT_MAC80211,
- WLAN_CMD_SETPOWER,
- WLAN_CMD_TBTT_WAKEUP,
- WLAN_CMD_BECON_SEND,
- WLAN_CMD_CHANGE_ANTENNA,
- WLAN_CMD_11H_CHSW,
-} CMD_CODE, *PCMD_CODE;
+/* Command code */
+enum vnt_cmd {
+ WLAN_CMD_INIT_MAC80211,
+ WLAN_CMD_SETPOWER,
+ WLAN_CMD_TBTT_WAKEUP,
+ WLAN_CMD_BECON_SEND,
+ WLAN_CMD_CHANGE_ANTENNA,
+ WLAN_CMD_11H_CHSW,
+};
#define CMD_Q_SIZE 32
@@ -57,7 +57,7 @@ typedef enum tagCMD_STATUS {
} CMD_STATUS, *PCMD_STATUS;
typedef struct tagCMD_ITEM {
- CMD_CODE eCmd;
+ enum vnt_cmd cmd;
} CMD_ITEM, *PCMD_ITEM;
// Command state
@@ -75,7 +75,7 @@ struct vnt_private;
void vResetCommandTimer(struct vnt_private *);
-int bScheduleCommand(struct vnt_private *, CMD_CODE eCommand, u8 *pbyItem0);
+int bScheduleCommand(struct vnt_private *, enum vnt_cmd, u8 *);
void vRunCommand(struct work_struct *work);