Re: brcmfmac: rework function picking free BSS index

2016-06-09 Thread Rafał Miłecki
On 9 June 2016 at 18:30, Kalle Valo wrote: > Kalle Valo writes: > >> Rafał Miłecki wrote: >>> The old implementation was overcomplicated and slightly bugged in some >>> corner cases. >>> >>> Consider following state of BSS-es (limited to 6 for simplification): >>> drvr->iflist[0]: { bsscfgidx:0,

Re: brcmfmac: rework function picking free BSS index

2016-06-09 Thread Kalle Valo
Kalle Valo writes: > Rafał Miłecki wrote: >> The old implementation was overcomplicated and slightly bugged in some >> corner cases. >> >> Consider following state of BSS-es (limited to 6 for simplification): >> drvr->iflist[0]: { bsscfgidx:0, ndev->name:wlan1, } >> drvr->iflist[1]: (null) >> d

Re: brcmfmac: rework function picking free BSS index

2016-06-09 Thread Kalle Valo
Rafał Miłecki wrote: > The old implementation was overcomplicated and slightly bugged in some > corner cases. > > Consider following state of BSS-es (limited to 6 for simplification): > drvr->iflist[0]: { bsscfgidx:0, ndev->name:wlan1, } > drvr->iflist[1]: (null) > drvr->iflist[2]: { bsscfgidx:2,