Skip to content

make has a compilation error #2

@RainCmd

Description

@RainCmd

I encountered the following two errors when compiling:
/home/rain/aic8800_linux_drvier/drivers/aic8800/aic8800_fdrv/rwnx_main.c:1076:9: error: too few arguments to function ‘cfg80211_ch_switch_notify’
1076 | cfg80211_ch_switch_notify(vif->ndev, &csa->chandef, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~

/home/rain/aic8800_linux_drvier/drivers/aic8800/aic8800_fdrv/rwnx_main.c:4705:9: error: too few arguments to function ‘cfg80211_ch_switch_notify’
4705 | cfg80211_ch_switch_notify(vif->ndev, &csa->chandef, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~

gcc version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
make version: GNU Make 4.3

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