mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fixes kernel oops when reset button was pressed too often on atheros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12245 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
31ed4e54ca
commit
9d28effef8
@ -129,10 +129,8 @@ static irqreturn_t button_handler(int irq, void *dev_id)
|
||||
|
||||
seen = jiffies;
|
||||
if(event->set && no_release_workaround)
|
||||
{
|
||||
rst_button_timer.expires = jiffies + (HZ / 4);
|
||||
add_timer(&rst_button_timer);
|
||||
}
|
||||
mod_timer(&rst_button_timer, jiffies + (HZ / 4));
|
||||
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user