[qca-nss-ecm] Fix gw check by check both on_link and for null

Change-Id: I26af21acd1e26589999b052228fe4103d923c1e6
Signed-off-by: Murat Sezgin <msezgin@codeaurora.org>
2 files changed