Return the correct status if ieee80211_ff_check() consumes the mbuf.
I broke this when converting the net80211 TX path to use if_transmit.
This commit is contained in:
parent
50079a51bb
commit
11e0ddb146
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254500
@ -210,8 +210,7 @@ ieee80211_vap_pkt_send_dest(struct ieee80211vap *vap, struct mbuf *m,
|
||||
m = ieee80211_ff_check(ni, m);
|
||||
if (m == NULL) {
|
||||
/* NB: any ni ref held on stageq */
|
||||
/* XXX better status? */
|
||||
return (ENOBUFS);
|
||||
return (0);
|
||||
}
|
||||
}
|
||||
#endif /* IEEE80211_SUPPORT_SUPERG */
|
||||
|
Loading…
Reference in New Issue
Block a user