aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-03-28 04:27:33 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-03-31 13:47:41 -0400
commit3f3aa2fb48bd637002c5742c6d1cd4dfa931b771 (patch)
treeb2685c5adf398262dd648e02d3409136aefbd227 /drivers/net
parenta7488c792f007377971a87aa42f91741f3fbd47f (diff)
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 <dan.carpenter@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/rsi/rsi_91x_mgmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_mgmt.c b/drivers/net/wireless/rsi/rsi_91x_mgmt.c
index ef37d4b27bd4..2361a6849ad7 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)
1292 return -EINVAL; 1292 return -EINVAL;
1293 } 1293 }
1294 } else if (msg_type == TX_STATUS_IND) { 1294 } else if (msg_type == TX_STATUS_IND) {
1295 if (msg[15] == PROBEREQ_CONFIRM) 1295 if (msg[15] == PROBEREQ_CONFIRM) {
1296 common->mgmt_q_block = false; 1296 common->mgmt_q_block = false;
1297 rsi_dbg(FSM_ZONE, "%s: Probe confirm received\n", 1297 rsi_dbg(FSM_ZONE, "%s: Probe confirm received\n",
1298 __func__); 1298 __func__);
1299 }
1299 } else { 1300 } else {
1300 return rsi_mgmt_pkt_to_core(common, msg, msg_len, msg_type); 1301 return rsi_mgmt_pkt_to_core(common, msg, msg_len, msg_type);
1301 } 1302 }