Commit be876b29 authored by Jahnavi Meher's avatar Jahnavi Meher Committed by John W. Linville

rsi: Lower level debug messages and changed handling of confirm received for rsi_program_bb_rf().

Lower level debug messages for some frames and changed confirm
received for rsi_program_bb_rf() to a valid case.
Signed-off-by: default avatarJahnavi Meher <jahnavi.meher@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0d59f526
...@@ -1153,7 +1153,7 @@ static int rsi_handle_ta_confirm_type(struct rsi_common *common, ...@@ -1153,7 +1153,7 @@ static int rsi_handle_ta_confirm_type(struct rsi_common *common,
common->fsm_state = FSM_EEPROM_READ_MAC_ADDR; common->fsm_state = FSM_EEPROM_READ_MAC_ADDR;
} }
} else { } else {
rsi_dbg(ERR_ZONE, rsi_dbg(INFO_ZONE,
"%s: Received bootup params cfm in %d state\n", "%s: Received bootup params cfm in %d state\n",
__func__, common->fsm_state); __func__, common->fsm_state);
return 0; return 0;
...@@ -1216,7 +1216,7 @@ static int rsi_handle_ta_confirm_type(struct rsi_common *common, ...@@ -1216,7 +1216,7 @@ static int rsi_handle_ta_confirm_type(struct rsi_common *common,
__func__); __func__);
} }
} else { } else {
rsi_dbg(ERR_ZONE, rsi_dbg(INFO_ZONE,
"%s: Received radio caps cfm in %d state\n", "%s: Received radio caps cfm in %d state\n",
__func__, common->fsm_state); __func__, common->fsm_state);
return 0; return 0;
...@@ -1234,7 +1234,10 @@ static int rsi_handle_ta_confirm_type(struct rsi_common *common, ...@@ -1234,7 +1234,10 @@ static int rsi_handle_ta_confirm_type(struct rsi_common *common,
return rsi_mac80211_attach(common); return rsi_mac80211_attach(common);
} }
} else { } else {
goto out; rsi_dbg(INFO_ZONE,
"%s: Received bbb_rf cfm in %d state\n",
__func__, common->fsm_state);
return 0;
} }
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment