sysprog21 / vwifi

A virtual wireless device driver for Linux
MIT License
205 stars 39 forks source link

Update cfg80211_ops->stop_ap() API signature #38

Closed rickywu0421 closed 1 year ago

rickywu0421 commented 1 year ago

Cfg80211 has changed function signature for cfg80211_ops->stop_ap() since kernel version 5.19.2, so make the function definition be conditionally expanded by using the macro LINUX_VERSION_CODE and KERNEL_VERSION(5, 19, 2).