Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66b2ca9d authored by Dinesh K Garg's avatar Dinesh K Garg
Browse files

md: dm-req-crypt: Initialize global variables in constructor



dm-req-crypt was not initializing number of engines available for
crypto operation. Hence, number of engines were getting accumulated
everytime a device based of dm-req-crypt was created. This caused
crash in qcrypto module while retrieving the crypto engine.

Change-Id: I06b5b296a80ae4f9f6bfd024222be9f47a29bfce
Signed-off-by: default avatarDinesh K Garg <dineshg@codeaurora.org>
parent e143b669
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment