mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
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)
This commit is contained in:
parent
64f1df32cf
commit
4e219655d0
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue