Skip to content

ioctl_cfg80211.c:9927:26: error: initialization of ‘int (*)(struct wiphy #19

@asadaafa

Description

@asadaafa

hello,
my devices are Ubuntu 22.04.2 LTS 。and the error as follow:

~/rtl8192fu/os_dep/linux/ioctl_cfg80211.c:9927:26: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_ap_update )’ from incompatible pointer type ‘int ()(struct wiphy *, struct net_device *, struct cfg80211_beacon_data *)’ [-Werror=incompatible-pointer-types]
9927 | .change_beacon = cfg80211_rtw_change_beacon,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
what can i do to handle this?
best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions