Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef TWO_PORT_STATUS to enum two_port_s…
Browse files Browse the repository at this point in the history
…tatus

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 2f41781 commit ebc95dd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/rtl8192e/rtl_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -477,15 +477,14 @@ struct channel_access_setting {
u16 CWmaxIndex;
};

typedef enum _TWO_PORT_STATUS
{
enum two_port_status {
TWO_PORT_STATUS__DEFAULT_ONLY,
TWO_PORT_STATUS__EXTENSION_ONLY,
TWO_PORT_STATUS__EXTENSION_FOLLOW_DEFAULT,
TWO_PORT_STATUS__DEFAULT_G_EXTENSION_N20,
TWO_PORT_STATUS__ADHOC,
TWO_PORT_STATUS__WITHOUT_ANY_ASSOCIATE
} TWO_PORT_STATUS;
};

struct txbbgain_struct {
long txbb_iq_amplifygain;
Expand Down

0 comments on commit ebc95dd

Please sign in to comment.