rtl8188eu: Fix build when CONFIG_P2P is not defined

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-03-10 21:45:35 -05:00
parent 993b4435cb
commit 90df80d763
4 changed files with 7 additions and 9 deletions

View file

@ -364,14 +364,11 @@ struct adapter {
#ifdef CONFIG_AP_MODE
struct hostapd_priv *phostapdpriv;
#endif
#ifdef CONFIG_P2P
struct cfg80211_wifidirect_info cfg80211_wdinfo;
#endif //CONFIG_P2P
u32 setband;
#ifdef CONFIG_P2P
struct wifidirect_info wdinfo;
#endif //CONFIG_P2P
#ifdef CONFIG_P2P
struct wifi_display_info wfd_info;