HomeFreeBSD

net80211: fix possible panic in adhoc mode (INIT -> RUN state transition).

Description

net80211: fix possible panic in adhoc mode (INIT -> RUN state transition).

In case if there is already running interface, a second non-sta
interface will omit scanning, going directly to RUN state. Handle
this case for adhoc mode appropriately.

Tested with RTL8821AU, 2 vaps in IBSS mode.

Details

Provenance
avosAuthored on
Parents
rS305756: fd: add fget_cap and fget_cap_locked primitives
Branches
Unknown
Tags
Unknown