Re: [PATCH -next] mac80111: fix build error without CONFIG_ATH11K_DEBUGFS

From: Johannes Berg
Date: Thu Jan 16 2020 - 07:59:33 EST


On Thu, 2020-01-16 at 20:51 +0800, Chen Zhou wrote:
> If CONFIG_ATH11K_DEBUGFS is n, build fails:
>
> drivers/net/wireless/ath/ath11k/debugfs_sta.c: In function ath11k_dbg_sta_open_htt_peer_stats:
> drivers/net/wireless/ath/ath11k/debugfs_sta.c:416:4: error: struct ath11k has no member named debug
> ar->debug.htt_stats.stats_req = stats_req;
> ^~
> and many more similar messages.
>
> Select ATH11K_DEBUGFS under config MAC80211_DEBUGFS to fix this.

Heh, no. You need to find a way in ath11 to fix this.

johannes