staging: android-alarm: Fix bad index when canceling alarms[]
authorJP Abgrall <jpa@google.com>
Thu, 9 Feb 2012 22:24:39 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Feb 2012 18:08:01 +0000 (10:08 -0800)
commitf2d3c6898abd6c5d69e6d1504413434df1ea2538
tree7862046ff226d1b19109c0a8fb3e25122fa43779
parent66c48107719b751e8ec360034bc84ee1511147e4
staging: android-alarm: Fix bad index when canceling alarms[]

It was using ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP_MASK as an
index.

CC: Arve Hjønnevåg <arve@android.com>
CC: Android Kernel Team <kernel-team@android.com>
CC: JP Abgrall <jpa@google.com>
Change-Id: I919860cc71254453e382616bce9fd5455802cb3d
Signed-off-by: JP Abgrall <jpa@google.com>
[jstultz: Tweaked commit subject]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/alarm.c