提交 3f3aa2fb 编写于 作者: D Dan Carpenter 提交者: John W. Linville

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: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 a7488c79
...@@ -1292,10 +1292,11 @@ int rsi_mgmt_pkt_recv(struct rsi_common *common, u8 *msg) ...@@ -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);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册