[qca-nss-drv] Move checking NULL before using the pointer.

Change-Id: Ia884ad5ed3e729e2697d6e9e6160aae39bd99b00
Signed-off-by: Guojun Jin <g.jin@codeaurora.org>
1 file changed