rsi: rsi_91x: misleading debug printk
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 28 Mar 2014 08:27:33 +0000 (11:27 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Mar 2014 17:47:41 +0000 (13:47 -0400)
There is a missing set of curly braces here so the debug output says
"Probe confirm received" unintentionally.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rsi/rsi_91x_mgmt.c

index ef37d4b27bd4130142bc5be06e9a5a416aa705d0..2361a6849ad7eb56dccd3d2e0d02517f02d6d82f 100644 (file)
@@ -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);
        }