altos: Lock cc115l radio mutex when using global radio values
authorKeith Packard <keithp@keithp.com>
Sat, 30 Mar 2013 08:31:12 +0000 (01:31 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 30 Mar 2013 08:31:12 +0000 (01:31 -0700)
commit7455a892e8bf5402e7ff2c4bd2ddad05dfe76638
treee5c0a87ffb03368fb9420f4a5f4cfe7b54d547d2
parentbd32140df2a595ce66d603b98516bae519327c5d
altos: Lock cc115l radio mutex when using global radio values

This moves the locking up above the global state variable uses so that
multiple radio users (as if we had any) won't collide.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_cc115l.c