[qca-ssdk]: fix the crash issue for hawkeye.

Change-Id: I23c3828847c28f510b0c3c1481e663a910c152b8
Signed-off-by: Liu Zhongjian <zhongjia@codeaurora.org>
diff --git a/src/init/ssdk_init.c b/src/init/ssdk_init.c
index 223f34c..6d9dc83 100755
--- a/src/init/ssdk_init.c
+++ b/src/init/ssdk_init.c
@@ -1185,11 +1185,13 @@
 	const __be32 *link_polling_required, *link_intr_gpio;
 	a_int32_t len;
 
-	if(priv->version == QCA_VER_DESS)
+	if(priv->version == QCA_VER_DESS || priv->version == QCA_VER_HPPE)
 		np = of_find_node_by_name(NULL, "ess-switch");
-	else
+	else if(priv->version == QCA_VER_AR8337)
 		 /*ap148*/
 		np = priv->phy->dev.of_node;
+	else
+		SSDK_ERROR("cannot find np node!\n");
 	if(!np)
 	{
 		SSDK_ERROR("np is null !\n");