IEEE80211_DEBUG_REFCNT breaks drivers
- Reply: Adrian Chadd : "Re: IEEE80211_DEBUG_REFCNT breaks drivers"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Nov 2022 16:15:04 UTC
Hi, adding IEEE80211_DEBUG_REFCNT to a kernel config breaks various wireless driver builds as they do not include opt_wlan.h and thus get the other incarnation of various functions (with different argument count) from ieee80211_node.h . I see two solutions (or three) (1) more the debug flag to opt_global.h (least preferred) (2) fix the drivers to include opt_wlan.h and with that probably fix their module Makefiles. (3) add the #include "opt_wlan.h" to ieee80211_node.h under #ifdef _KERNEL; the probably still warrants changes like (2) to driver Makefiles What do other people think? How was this once designed to work? Once fixed I'd probably add it to NOTES so that in the future this won't break anymore. /bz -- Bjoern A. Zeeb r15:7