Re: [PATCH] cfg80211: don't optimise wext calls too much

Kalle Valo
2009-07-17T10:50:20Z

Johannes Berg <johannes@sipsolutions.net> writes:

> In the wext code I tried to not reconnect all the time
> when the user wasn't really sure what they were doing,
> like setting the BSSID back to the same value it was.
> However, this optimisation should only be done while
> associated so that setting the BSSID back to the same
> value that it was actually triggers a new association
> if not currently associated. To achieve, that, put the
> relevant code into the !IDLE case instead.
>
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

At least this patch cured my resume problems I reported earlier[1]. It
will take few days to test the dropping from network case, but I'm sure
this patch will help with that problem as well. If not, I'll report
about the issue. Thanks for fixing this.

Tested-by: Kalle Valo <kalle.valo@iki.fi>

[1] http://www.spinics.net/lists/linux-wireless/msg35797.html

--
Kalle Valo