diff options
Diffstat (limited to 'sys/dev/mwl/mwlhal.c')
-rw-r--r-- | sys/dev/mwl/mwlhal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mwl/mwlhal.c b/sys/dev/mwl/mwlhal.c index 092f5f81e99d..41f1b8f2dad8 100644 --- a/sys/dev/mwl/mwlhal.c +++ b/sys/dev/mwl/mwlhal.c @@ -1440,7 +1440,7 @@ mwl_hal_bastream_alloc(struct mwl_hal_vap *vap, int ba_policy, sp->setup = 0; sp->ba_policy = ba_policy; MWL_HAL_UNLOCK(mh); - return sp != NULL ? &sp->public : NULL; + return &sp->public; } const MWL_HAL_BASTREAM * |