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

Commit 1777f1a9 authored by Krzysztof Hałasa's avatar Krzysztof Hałasa Committed by Herbert Xu
Browse files

crypto: ixp4xx - Fix qmgr_request_queue build failure



There is another user of IXP4xx queue manager, fix it.

Signed-off-by: default avatarKrzysztof Hałasa <khc@pm.waw.pl>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent a760a665
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -457,10 +457,12 @@ static int init_ixp_crypto(void)
	if (!ctx_pool) {
		goto err;
	}
	ret = qmgr_request_queue(SEND_QID, NPE_QLEN_TOTAL, 0, 0);
	ret = qmgr_request_queue(SEND_QID, NPE_QLEN_TOTAL, 0, 0,
				 "ixp_crypto:out", NULL);
	if (ret)
		goto err;
	ret = qmgr_request_queue(RECV_QID, NPE_QLEN, 0, 0);
	ret = qmgr_request_queue(RECV_QID, NPE_QLEN, 0, 0,
				 "ixp_crypto:in", NULL);
	if (ret) {
		qmgr_release_queue(SEND_QID);
		goto err;