On Wed, Mar 20, 2019 at 12:54:22PM +0000, Omer Dagan wrote: > the callbacks are a copy of the 'channel_switch' callback > as they essentially need the same data Please do not copy-paste that much code to a new function, i.e., move it to a shared helper function instead so that the same implementation can be used for both events. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap