Re: [PATCH 1/4] mac80211: mesh: flush stations before beacons are stopped
From: Johannes Berg
Date: Wed Jun 29 2016 - 03:14:27 EST
On Tue, 2016-06-28 at 14:13 +0300, Yaniv Machani wrote:
> From: Maital Hahn <maitalm@xxxxxx>
>
> Some drivers (e.g. wl18xx) expect that the last stage in the
> de-initialization process will be stopping the beacons, similar to
> ap. Update ieee80211_stop_mesh() flow accordingly.
>
How well have you tested that with other drivers?
Changing behaviour to something a single driver desires isn't
necessarily the best thing to do, since there always are multiple
drivers.
If you're able to demonstrate that it works with the other drivers I'm
willing to take that - the change makes sense after all, and it seems
drivers must support this ordering since peers are also removed
dynamically... But still. Don't just make a change like that without
even giving any indication why you think it's fine for other drivers!
johannes