patch proposal for marvell driver
Adrian Chadd
adrian at freebsd.org
Fri Dec 30 19:55:10 UTC 2011
On 30 December 2011 10:10, Philippe Saint-Pierre <stpere at gmail.com> wrote:
> 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.
Thanks for noticing this! I haven't yet tried any of the mwl cards Sam gave me.
Would you mind throwing this into a PR?
Thanks,
Adrian
More information about the freebsd-wireless
mailing list