carl9170 firmware: fixup const volatile register access
authorChristian Lamparter <chunkeey@googlemail.com>
Wed, 29 Jun 2011 21:45:38 +0000 (23:45 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Wed, 29 Jun 2011 21:52:16 +0000 (23:52 +0200)
commit774528bd28331a1f3dd26ed8976f03cf224dfd4e
tree2d1b9ce116d7b19652f879cbffe5cf189f201e7a
parent8bd3397985e442761ce6956b3ba2e126a2577c42
carl9170 firmware: fixup const volatile register access

Due to heavy usage of all sorts of different optimitations
option, the compiler tries to optimize repeated reads of
const type * away if they are not marked as volatile.
Unfortunately, this breaks the code in several places, as it
causes infinite loops while waiting for hardware to update
BUSY registers.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/include/io.h
carlfw/include/wl.h
carlfw/src/wlan.c