diff options
author | Frank Hilgendorf <frank.hilgendorf@posteo.de> | 2023-12-13 23:48:08 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2024-02-18 18:31:14 +0000 |
commit | 4e219655d0f7e1134c040468c0e7d91c671e57fb (patch) | |
tree | e6f072a8c2d2631ffa8878b3b6dd3905483c6dae | |
parent | 64f1df32cf68d8a912fe1fb8d9dbe0e777163b5e (diff) | |
download | src-4e219655d0f7e1134c040468c0e7d91c671e57fb.tar.gz src-4e219655d0f7e1134c040468c0e7d91c671e57fb.zip |
bwn: remove unused ic_headroom
Unlike bwi(4), bwn(4) does not rely on ic_headroom (despite having it
set) but splits the bwn_txhdr (first) segment into its own transaction.
Remove ic_headroom to avoid net80211 troubles with not enough space in
the mbuf around ieee80211_mbuf_adjust().
PR: 275616
(cherry picked from commit 59dba901f227420647e4856f03cb782a3375c220)
-rw-r--r-- | sys/dev/bwn/if_bwn.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c index 501bcc1e958e..742ed63a92aa 100644 --- a/sys/dev/bwn/if_bwn.c +++ b/sys/dev/bwn/if_bwn.c @@ -808,8 +808,6 @@ bwn_attach_post(struct bwn_softc *sc) /* call MI attach routine. */ ieee80211_ifattach(ic); - ic->ic_headroom = sizeof(struct bwn_txhdr); - /* override default methods */ ic->ic_raw_xmit = bwn_raw_xmit; ic->ic_updateslot = bwn_updateslot; |