On 6/8/2022 1:41 PM, Johannes Berg wrote:
On Wed, 2022-06-08 at 13:40 +0530, Veerendranath Jakkam wrote:Now I am thinking we can simply do like this. Sorry, somehow I made it complex earlier.. :) + if (cr->status == WLAN_STATUS_SUCCESS) { + for_each_valid_link(cr, link) { + if (WARN_ON_ONCE(!cr->links[link].bss)) + break; + }Huh, yeah, nice! johannes
Thanks, sent updated changes as [PATCH] -- veeru