diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-16 02:07:14 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-17 15:25:51 +0200 |
commit | 48c3d5c884fe2b633066dd3119a4694cc5195b54 (patch) | |
tree | d19ca73994a7e1f0ab127cd71c82b20273cb7d52 /scripts | |
parent | 57e029ba573bb6b4e19c90d55960bed0357c321b (diff) | |
download | upstream-48c3d5c884fe2b633066dd3119a4694cc5195b54.tar.gz upstream-48c3d5c884fe2b633066dd3119a4694cc5195b54.tar.bz2 upstream-48c3d5c884fe2b633066dd3119a4694cc5195b54.zip |
ath79: change WPS to Wifi button on TL-WPA8630P v2
Both TL-WPA8630(P) v1 and v2 feature a button labelled "WiFi".
While this is implemented as KEY_RFKILL for v1 in ar71xx and ath79,
the v2 sets it up as WPS button.
According to the manual, the behavior in OEM firmware is:
"Press and hold the button for 1 second to copy wireless settings
from the main router to the extender. Go to Wi-Fi Clone for more
information. Press and hold the button for at least 5 seconds to
turn the wireless function on or off."
Consequently, and since this is historic behavior on v1 in OpenWrt,
we set this button to KEY_RFKILL on both revisions.
Fixes: ab74def0db93 ("ath79: add support for TP-Link TL-WPA8630P v2")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions