Modify

Opened 18 months ago

#22951 new defect

need to change from wps button function to reset button function in TPLink-MR3020

Reported by: apparichit Owned by: developers
Priority: high Milestone:
Component: base system Version: Chaos Calmer 15.05
Keywords: reset button TPLink-MR3020 Cc:

Description

# reset button functionality is not in TPLink-MR3020

# wps functionality is enabled, which is not actually needed and reset is important; saves from bad configurations...

1: in this file : target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr3020.c

2: change wps to reset , below is the changed one :

#define TL_MR3020_GPIO_BTN_RESET        11

static struct gpio_keys_button tl_mr3020_gpio_keys[] __initdata = {
        {
                .desc           = "Reset button",
                .type           = EV_KEY,
                .code           = KEY_RESTART,
                .debounce_interval = TL_MR3020_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = TL_MR3020_GPIO_BTN_RESET,
                .active_low     = 0,

        },

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.