Permalink
Browse files

net: wireless: bcmdhd: Increase pm_notify callback priority

Make pm_notify callback to be called the first on suspend/resume path to
ensure it will always be called.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
  • Loading branch information...
1 parent 5684ca3 commit 9fdbae4d488439c45946a159805de61fa856d814 Dmitry Shmidt committed Jan 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 drivers/net/wireless/bcmdhd/dhd_linux.c
View
2 drivers/net/wireless/bcmdhd/dhd_linux.c
@@ -496,7 +496,7 @@ static int dhd_sleep_pm_callback(struct notifier_block *nfb, unsigned long actio
static struct notifier_block dhd_sleep_pm_notifier = {
.notifier_call = dhd_sleep_pm_callback,
- .priority = 0
+ .priority = 10
};
extern int register_pm_notifier(struct notifier_block *nb);
extern int unregister_pm_notifier(struct notifier_block *nb);

0 comments on commit 9fdbae4

Please sign in to comment.