From: Larry Finger Date: Wed, 20 Jul 2011 01:51:54 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=80f839d43960c7f1dbd4dbcda63efaaa8cffc2b2;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 6bba2a54a785..07cde96344fb 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -656,12 +656,12 @@ enum wireless_mode { WIRELESS_MODE_N_5G = 0x20 }; -typedef enum _WIRELESS_NETWORK_TYPE{ +enum wireless_network_type { WIRELESS_11B = 1, WIRELESS_11G = 2, WIRELESS_11A = 4, WIRELESS_11N = 8 -} WIRELESS_NETWORK_TYPE; +}; #define OUI_SUBTYPE_WMM_INFO 0 #define OUI_SUBTYPE_WMM_PARAM 1