From 4d2395e23cdcaee6cbbf5666eed31a6b77dc80d9 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 9 Jan 2011 18:31:44 -0300 Subject: [PATCH] atrf-rssi.c: unmask IRQ_PLL_LOCK, for 231 compatibility --- tools/atrf-rssi/atrf-rssi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/atrf-rssi/atrf-rssi.c b/tools/atrf-rssi/atrf-rssi.c index 07daf70..3a095a3 100644 --- a/tools/atrf-rssi/atrf-rssi.c +++ b/tools/atrf-rssi/atrf-rssi.c @@ -1,8 +1,8 @@ /* * atrf-rssi/atrf-rssi.c - ben-wpan AT86RF230 spectrum scan * - * Written 2010 by Werner Almesberger - * Copyright 2010 Werner Almesberger + * Written 2010-2011 by Werner Almesberger + * Copyright 2010-2011 Werner Almesberger * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -121,6 +121,7 @@ int main(int argc, char **argv) atrf_reg_write(dsc, REG_TRX_STATE, TRX_CMD_TRX_OFF); atrf_reg_write(dsc, REG_TRX_STATE, TRX_CMD_RX_ON); + atrf_reg_write(dsc, REG_IRQ_MASK, IRQ_PLL_LOCK); /* * We'll wait for the PLL lock after selecting the channel. */