patch proposal for marvell driver

Philippe Saint-Pierre stpere at gmail.com
Fri Dec 30 18:40:54 UTC 2011


Hi,

I'm sending this small patch for the marvell wifi driver.

Basically, in mwl_hal_bastream_alloc(), there is a sp = ... assignment that
could return NULL, then several derefencing of sp then finally, a NULL
check on sp before returning.

I simply moved the NULL check before the dereferences tries occurs.

Thank you!

--
Philippe Saint-Pierre


More information about the freebsd-wireless mailing list