I have noticed that when pressing the WPS button on the TP-Link RE450v1 it seems to be mapped to the reset button/behaviour.
Capturing the button press with logger "the button was ${BUTTON} and the action was ${ACTION}" gives me "reset" for ${BUTTON}. This seems like a bug, but before reporting it (where exactly? main tracker?) I'd also like to know if I can work around it.
Unfortunately, I don't know enough about the inner workings of the button system apart from that the mapping is apparently done by a kernel module. Can this mapping be changed in userspace or do you have to compile a new kernel for that? Could I change the default action for the reset button? There should be a script somewhere but I don't know where it is.
I found a workaround. In order to restore the default behaviour you have to swap the files /etc/rc.button/reset and /etc/rc.button/wps. Any custom functionality on WPS button press can then go into /etc/rc.button/reset. In order for the changes to survive a factory reset one would have to make a custom build.