Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef HT_IOT_ACTION_E to enum ht_iot_action
Browse files Browse the repository at this point in the history
Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent a866534 commit dd8f8ba
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions drivers/staging/rtl8192e/rtl819x_HT.h
Original file line number Diff line number Diff line change
Expand Up @@ -419,12 +419,11 @@ enum ht_iot_peer {
HT_IOT_PEER_MAX = 11,
};

typedef enum _HT_IOT_PEER_SUBTYPE_E
{
enum ht_iot_peer_subtype {
HT_IOT_PEER_ATHEROS_DIR635 = 0,
} HT_IOT_PEER_SUBTYPE_E, *PHTIOT_PEER_SUBTYPE_E;
};

typedef enum _HT_IOT_ACTION_E{
enum ht_iot_action {
HT_IOT_ACT_TX_USE_AMSDU_4K = 0x00000001,
HT_IOT_ACT_TX_USE_AMSDU_8K = 0x00000002,
HT_IOT_ACT_DISABLE_MCS14 = 0x00000004,
Expand Down Expand Up @@ -457,7 +456,7 @@ typedef enum _HT_IOT_ACTION_E{

HT_IOT_ACT_DISABLE_RX_40MHZ_SHORT_GI = 0x08000000,

} HT_IOT_ACTION_E, *PHT_IOT_ACTION_E;
};

typedef enum _HT_IOT_RAFUNC{
HT_IOT_RAFUNC_DISABLE_ALL = 0x00,
Expand Down

0 comments on commit dd8f8ba

Please sign in to comment.