Skip to content

bcmdhd driver fails to compile if WEXT_PRIV is not set #1

Open
@mytbk

Description

I think drivers/net/wireless/bcmdhd/wl_iw.c should be patched as follows:

diff --git a/drivers/net/wireless/bcmdhd/wl_iw.c b/drivers/net/wireless/bcmdhd/wl_iw.c
index a04bf7c..b53c413 100644
--- a/drivers/net/wireless/bcmdhd/wl_iw.c
+++ b/drivers/net/wireless/bcmdhd/wl_iw.c
@@ -2894,11 +2894,15 @@ static struct iw_priv_args wl_iw_priv_args[] = {
const struct iw_handler_def wl_iw_handler_def =
{
.num_standard = ARRAYSIZE(wl_iw_handler),
+#ifdef CONFIG_WEXT_PRIV
.num_private = ARRAY_SIZE(wl_iw_priv_handler),
.num_private_args = ARRAY_SIZE(wl_iw_priv_args),
+#endif
.standard = (iw_handler ) wl_iw_handler,
+#ifdef CONFIG_WEXT_PRIV
.private = wl_iw_priv_handler,
.private_args = wl_iw_priv_args,
+#endif
#if WIRELESS_EXT >= 19
get_wireless_stats: dhd_get_wireless_stats,
#endif /
WIRELESS_EXT >= 19 */

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions