iprowifi4965: Add NULL check for data->ni and data->m.
Workaround for #19289.
This commit is contained in:
@@ -3650,6 +3650,11 @@ iwn_tx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, int rtsfailcnt,
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef __HAIKU__
|
||||
if (!data->ni || !data->m)
|
||||
return;
|
||||
#endif
|
||||
|
||||
KASSERT(data->ni != NULL, ("no node"));
|
||||
KASSERT(data->m != NULL, ("no mbuf"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user