The two ASUS WL-330N and WL-330N3G had the
reset keycode assigned to the WPS button. This patch
changes all three devices to use KEY_WPS_BUTTON in
the hopes that this fixes unwanted restarts/
unexpected behavior from the users point of view.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [dropped RG21S]
(cherry picked from commit
ad65d9d7b264d6d17293c59469e770905d2f785a)
wps {
label = "wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_RESTART>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
};
wps {
label = "wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_RESTART>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
};