[qca-nss-ecm] Check for ct NULL pointer

Don't take the ct lock before ensuring you are holding a ct in the first place.

Change-Id: I085cbe9872d32faf0d6b84d4ec06a522ad8ce5ec
Signed-off-by: Gareth Williams <garethw@codeaurora.org>
2 files changed