Skip to content

Commit

Permalink
[core] Request reader/writer modes by default. JB#51380
Browse files Browse the repository at this point in the history
Binder plugin worked by accident because it didn't pay attention to
the requested mode.
  • Loading branch information
monich committed Sep 28, 2020
1 parent 5326cbb commit ff67e56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/nfc_manager.c
Expand Up @@ -433,6 +433,7 @@ nfc_manager_init(
self->priv = priv;
self->adapters = g_new0(NfcAdapter*, 1);
self->enabled = TRUE;
priv->requested_mode = NFC_MODE_READER_WRITER;
priv->adapters = g_hash_table_new_full(g_str_hash, g_str_equal,
g_free, g_object_unref);
}
Expand Down

0 comments on commit ff67e56

Please sign in to comment.