From: Larry Finger Date: Tue, 19 Jul 2011 03:13:13 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef RT_INTEL_PROMISCUOUS_MODE_INFO to struct rt_intel_... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ca39405519df5c53f2b2c1c635e638085538086c;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Convert typedef RT_INTEL_PROMISCUOUS_MODE_INFO to struct rt_intel_promisc_mode Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 7de5360280a1..2834e78e27de 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -2063,10 +2063,10 @@ struct rt_pmkid_list { u16 ssid_length; }; -typedef struct _RT_INTEL_PROMISCUOUS_MODE_INFO { +struct rt_intel_promisc_mode { bool bPromiscuousOn; bool bFilterSourceStationFrame; -} RT_INTEL_PROMISCUOUS_MODE_INFO, *PRT_INTEL_PROMISCUOUS_MODE_INFO; +}; /*************** DRIVER STATUS *****/ @@ -2181,7 +2181,7 @@ struct rtllib_device { int iw_mode; /* operating mode (IW_MODE_*) */ bool bNetPromiscuousMode; - RT_INTEL_PROMISCUOUS_MODE_INFO IntelPromiscuousModeInfo; + struct rt_intel_promisc_mode IntelPromiscuousModeInfo; struct iw_spy_data spy_data;