Browse Source

qcacmn: Fix compilation error in dp_umac_reset_handle_action_cb

Fix compilation error in dp_umac_reset_handle_action_cb

Change-Id: I0a0506d9fb04ee3513617964f1f4f36cd755959f
CRs-Fixed: 3436442
Himanshu Batra 2 years ago
parent
commit
391bbecfcc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      dp/wifi3.0/dp_umac_reset.c

+ 2 - 0
dp/wifi3.0/dp_umac_reset.c

@@ -363,6 +363,8 @@ static QDF_STATUS dp_umac_reset_handle_action_cb(struct dp_soc *soc,
 				struct dp_soc_umac_reset_ctx *umac_reset_ctx,
 				enum umac_reset_action action)
 {
+	QDF_STATUS status = QDF_STATUS_SUCCESS;
+
 	if (!umac_reset_ctx->rx_actions.cb[action]) {
 		dp_umac_reset_err("rx callback is NULL");
 		return QDF_STATUS_E_FAILURE;