Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f3aa2fb authored by Dan Carpenter's avatar Dan Carpenter Committed by John W. Linville
Browse files

rsi: rsi_91x: misleading debug printk



There is a missing set of curly braces here so the debug output says
"Probe confirm received" unintentionally.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a7488c79
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1292,10 +1292,11 @@ int rsi_mgmt_pkt_recv(struct rsi_common *common, u8 *msg)
			return -EINVAL;
			return -EINVAL;
		}
		}
	} else if (msg_type == TX_STATUS_IND) {
	} else if (msg_type == TX_STATUS_IND) {
		if (msg[15] == PROBEREQ_CONFIRM)
		if (msg[15] == PROBEREQ_CONFIRM) {
			common->mgmt_q_block = false;
			common->mgmt_q_block = false;
			rsi_dbg(FSM_ZONE, "%s: Probe confirm received\n",
			rsi_dbg(FSM_ZONE, "%s: Probe confirm received\n",
				__func__);
				__func__);
		}
	} else {
	} else {
		return rsi_mgmt_pkt_to_core(common, msg, msg_len, msg_type);
		return rsi_mgmt_pkt_to_core(common, msg, msg_len, msg_type);
	}
	}