qcacld-3.0: umac: Replace fallthrough comment with attribute

-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: I7a04c8727121f58a5d6dcd575446c9acedea164b
CRs-Fixed: 3216248
此提交包含在:
David Oladunjoye
2022-06-08 07:46:24 -07:00
提交者 Madan Koyyalamudi
父節點 7cac3b649d
當前提交 75c1d7c753
共有 3 個檔案被更改,包括 5 行新增5 行删除

查看文件

@@ -3580,7 +3580,7 @@ cm_roam_switch_to_deinit(struct wlan_objmgr_pdev *pdev,
cm_roam_switch_to_rso_stop(pdev, vdev_id, reason,
NULL, false);
}
break;
case WLAN_ROAM_INIT:
break;
@@ -3955,7 +3955,7 @@ cm_roam_switch_to_roam_start(struct wlan_objmgr_pdev *pdev,
WLAN_ROAMING_IN_PROG);
break;
}
/* fallthrough */
fallthrough;
case WLAN_ROAM_INIT:
case WLAN_ROAM_DEINIT:
case WLAN_ROAM_SYNCH_IN_PROG:
@@ -4017,7 +4017,7 @@ cm_roam_switch_to_roam_sync(struct wlan_objmgr_pdev *pdev,
* transition to WLAN_ROAM_SYNCH_IN_PROG not allowed otherwise
* if we're already RSO stopped, fall through to return failure
*/
/* fallthrough */
fallthrough;
case WLAN_ROAM_INIT:
case WLAN_ROAM_DEINIT:
case WLAN_ROAM_SYNCH_IN_PROG:

查看文件

@@ -2445,7 +2445,7 @@ cm_roam_event_handler(struct roam_offload_roam_event *roam_event)
if (roam_event->rso_timer_stopped)
wlan_cm_rso_stop_continue_disconnect(roam_event->psoc,
roam_event->vdev_id, true);
/* fallthrough */
fallthrough;
case ROAM_REASON_INVALID:
cm_handle_roam_offload_events(roam_event);
break;

查看文件

@@ -392,7 +392,7 @@ QDF_STATUS ucfg_cm_check_ft_status(struct wlan_objmgr_pdev *pdev,
mlme_priv->connect_info.ft_info.ft_state);
break;
}
/* fallthrough */
fallthrough;
default:
mlme_debug("Unhandled state:%d",
mlme_priv->connect_info.ft_info.ft_state);