[PATCH 3/3] ath10k: implement mesh support
johannes at sipsolutions.net
Thu Sep 10 00:22:44 PDT 2015
On Wed, 2015-09-09 at 12:49 -0400, Bob Copeland wrote:
> On Wed, Sep 09, 2015 at 12:10:38PM +0300, Kalle Valo wrote:
> > > I did a quick smoke test and saw the splat below. It's this
> > > warning from
> > > cfg80211:
> > >
> > > /*
> > > * Don't advertise an unsupported type
> > > * in a combination.
> > > */
> > > if (WARN_ON((wiphy->interface_modes &
> > > types) != types))
> > > return -EINVAL;
> OK, this happens when mesh is configured out (we mask off the mesh
> interface_modes internally but not the types). Sent an updated
> version with appropriate ifdefs added.
Yeah this is an unfortunate quirk in the APIs ... I think adding the
ifdefs to the driver is the best thing to do.
More information about the ath10k