]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
rsi: Lower level debug messages and changed handling of confirm received for rsi_prog...
authorJahnavi Meher <jahnavi.meher@gmail.com>
Mon, 16 Jun 2014 14:13:35 +0000 (19:43 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 Jun 2014 19:49:22 +0000 (15:49 -0400)
Lower level debug messages for some frames and changed confirm
received for rsi_program_bb_rf() to a valid case.

Signed-off-by: Jahnavi Meher <jahnavi.meher@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rsi/rsi_91x_mgmt.c

index f5182cd67f53e563c2226eaa90d384f2b1f55a16..92f584e636d4ad0419ff16a9ce672bd8106bf0a1 100644 (file)
@@ -1153,7 +1153,7 @@ static int rsi_handle_ta_confirm_type(struct rsi_common *common,
                                common->fsm_state = FSM_EEPROM_READ_MAC_ADDR;
                        }
                } else {
-                       rsi_dbg(ERR_ZONE,
+                       rsi_dbg(INFO_ZONE,
                                "%s: Received bootup params cfm in %d state\n",
                                 __func__, common->fsm_state);
                        return 0;
@@ -1216,7 +1216,7 @@ static int rsi_handle_ta_confirm_type(struct rsi_common *common,
                                        __func__);
                        }
                } else {
-                       rsi_dbg(ERR_ZONE,
+                       rsi_dbg(INFO_ZONE,
                                "%s: Received radio caps cfm in %d state\n",
                                 __func__, common->fsm_state);
                        return 0;
@@ -1234,7 +1234,10 @@ static int rsi_handle_ta_confirm_type(struct rsi_common *common,
                                return rsi_mac80211_attach(common);
                        }
                } else {
-                       goto out;
+                       rsi_dbg(INFO_ZONE,
+                               "%s: Received bbb_rf cfm in %d state\n",
+                                __func__, common->fsm_state);
+                       return 0;
                }
                break;