From: Dan Carpenter Date: Fri, 28 Mar 2014 08:27:33 +0000 (+0300) Subject: rsi: rsi_91x: misleading debug printk X-Git-Tag: v4.14-rc1~7785^2~18^2^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f3aa2fb48bd637002c5742c6d1cd4dfa931b771;p=platform%2Fkernel%2Flinux-rpi.git 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: Dan Carpenter Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rsi/rsi_91x_mgmt.c b/drivers/net/wireless/rsi/rsi_91x_mgmt.c index ef37d4b..2361a68 100644 --- a/drivers/net/wireless/rsi/rsi_91x_mgmt.c +++ b/drivers/net/wireless/rsi/rsi_91x_mgmt.c @@ -1292,10 +1292,11 @@ int rsi_mgmt_pkt_recv(struct rsi_common *common, u8 *msg) return -EINVAL; } } else if (msg_type == TX_STATUS_IND) { - if (msg[15] == PROBEREQ_CONFIRM) + if (msg[15] == PROBEREQ_CONFIRM) { common->mgmt_q_block = false; rsi_dbg(FSM_ZONE, "%s: Probe confirm received\n", __func__); + } } else { return rsi_mgmt_pkt_to_core(common, msg, msg_len, msg_type); }