summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-06-20 16:01:59 +0000
committerShaun Ruffell <sruffell@digium.com>2011-06-20 16:01:59 +0000
commit11f0e72cb7cc4bc0db2a816668c8e07399e26b28 (patch)
tree5a532bb464c840bc6de8867d9c2f04c02a7b7da2 /include
parent2bdc418790f82f2273df6ec4882a47204b47447a (diff)
wcte12xp: Start alarm timer after marking board initialized.
r9946, "wcte12xp: Move the VPMADT032 test/configuration to module load time." introduced a race condition where it was possible for the timer that initiates the check for the alarms to fire before the board was marked initialized. This would result in a board that would never again check it's alarm state since the first time the timer runs INITIALIZED may not be set and it will not reschedule a check since it believes the driver is unloading. This happened because the check for the VPM was moved between when the timer was first setup and when INITIALIZED was then set. Now we make sure INITIALIZED is set before the timer is first setup, and move those two operations together. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9981 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions