diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-08-07 09:12:49 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-08-07 09:12:49 +0000 |
commit | 195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d (patch) | |
tree | 881f2e1921a80a5701421cc99477c3592962a15f /package/rt2x00/src/rt2x00rfkill.c | |
parent | ce173e209444843060cc64cc22b5c7f612a9bf54 (diff) | |
download | upstream-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.tar.gz upstream-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.tar.bz2 upstream-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.zip |
Upgrade rt2x00 to a more recent snapshot, master mode now working, thanks to Daniel Gimpelevich
SVN-Revision: 8367
Diffstat (limited to 'package/rt2x00/src/rt2x00rfkill.c')
-rw-r--r-- | package/rt2x00/src/rt2x00rfkill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/rt2x00/src/rt2x00rfkill.c b/package/rt2x00/src/rt2x00rfkill.c index 63062f1ec4..c08a2aa0ea 100644 --- a/package/rt2x00/src/rt2x00rfkill.c +++ b/package/rt2x00/src/rt2x00rfkill.c @@ -70,7 +70,7 @@ static void rt2x00lib_rfkill_poll(struct work_struct *work) rfkill_switch_all(rt2x00dev->rfkill->type, rt2x00dev->ops->lib->rfkill_poll(rt2x00dev)); - queue_delayed_work(rt2x00dev->workqueue, &rt2x00dev->rfkill_work, + queue_delayed_work(rt2x00dev->hw->workqueue, &rt2x00dev->rfkill_work, RFKILL_POLL_INTERVAL); } @@ -92,7 +92,7 @@ void rt2x00lib_unregister_rfkill(struct rt2x00_dev *rt2x00dev) { if (delayed_work_pending(&rt2x00dev->rfkill_work)) cancel_rearming_delayed_workqueue( - rt2x00dev->workqueue, &rt2x00dev->rfkill_work); + rt2x00dev->hw->workqueue, &rt2x00dev->rfkill_work); rfkill_unregister(rt2x00dev->rfkill); } |