Skip to content

fix(esp_hosted_ng): Fix build for kernel 7.1#736

Open
giuliobenetti wants to merge 1 commit into
espressif:masterfrom
Benetti-Engineering:fix/linux-7.1
Open

fix(esp_hosted_ng): Fix build for kernel 7.1#736
giuliobenetti wants to merge 1 commit into
espressif:masterfrom
Benetti-Engineering:fix/linux-7.1

Conversation

@giuliobenetti

@giuliobenetti giuliobenetti commented May 18, 2026

Copy link
Copy Markdown
Contributor

With commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=033fe322f5852d5144a85978e880e01b1787fd0d many functions esp_cfg80211_*() have argument struct netdevice * subsituted with struct wireless_dev *. So let's add separate function headers and retrieve struct netdev * from struct wireless_dev * if Linux version >= 7.1.

Description

Related

Testing


Checklist

Before submitting a Pull Request, please ensure the following:

  • 🚨 This PR does not introduce breaking changes.
  • All CI checks (GH Actions) pass.
  • Documentation is updated as needed.
  • Tests are updated or added as necessary.
  • Code is well-commented, especially in complex areas.
  • Git history is clean — commits are squashed to the minimum necessary.

With commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=033fe322f5852d5144a85978e880e01b1787fd0d
many functions esp_cfg80211_*() have argument struct netdevice * subsituted
with struct wireless_dev *. So let's add separate function headers and
retrieve struct netdev * from struct wireless_dev * if Linux version >= 7.1.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
@kapilkedawat

Copy link
Copy Markdown
Contributor

@giuliobenetti thanks for the contribution, @Shreyas0-7 PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants