am e08a0eeb: Fix a typo that compares scanMode with callback types.

* commit 'e08a0eeb9cbf0ee732171d1c1d353aecdad0a7d2':
  Fix a typo that compares scanMode with callback types.