Re: [PATCH 3/3] wifi: cfg80211: check if AP has been started before adding new station
From: Johannes Berg
Date: Mon Sep 07 2026 - 05:54:58 EST
On Mon, 2026-09-07 at 11:46 +0200, Slawomir Stepien wrote:
> On wrz 04, 2026 11:25, Johannes Berg wrote:
> > On Thu, 2026-08-13 at 11:04 +0200, Slawomir Stepien wrote:
> > >
> > > case NL80211_IFTYPE_P2P_GO:
> > > + /* Add a new station only after the AP and link has been started */
> > > + link_id = wdev->valid_links ? params.link_sta_params.link_id : 0;
> >
> > max() maybe?
>
> But wouldn't that blur the intent here? It's not about a bigger value. It's about MLO or not MLO
> device handling.
Yeah, true, was thinking more of the pattern than the semantics.
johannes