Re: [PATCH] mac80211: fix station hash table max_size config dependency

From: Kalle Valo
Date: Tue Sep 26 2023 - 06:45:12 EST


roynatech@xxxxxxxxx writes:

> From: roynatech2544 <whiteshell2544@xxxxxxxxx>
>
> Commit ebd82b3 ("mac80211: make station hash table max_size configurable") introduced config
> MAC80211_STA_HASH_MAX_SIZE, which is defined unconditionally even if MAC80211 is not set.
> It doesn't look like it is dependent of MAC80211_DEBUG_MENU either, as its only user is sta_info.c
> which is compiled unconditionally when MAC80211 != n. And without this config set somewhere, compile
> would error out.
>
> Make it depend on MAC80211 to correctly hide the config when MAC80211=n
>
> Fixes: ebd82b3 ("mac80211: make station hash table max_size configurable")

The commit id in fixes tag is too short, more info in the wiki link
below.

> Signed-off-by: roynatech2544 <whiteshell2544@xxxxxxxxx>

Please use your full legal name, no pseudonyms please. See wiki.

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches