diff --git a/components/ipa/core/inc/wlan_ipa_priv.h b/components/ipa/core/inc/wlan_ipa_priv.h index 37d8a9be407d..a931a5793416 100644 --- a/components/ipa/core/inc/wlan_ipa_priv.h +++ b/components/ipa/core/inc/wlan_ipa_priv.h @@ -303,7 +303,7 @@ struct wlan_ipa_iface_context { uint8_t iface_id; /* This iface ID */ qdf_netdev_t dev; - enum tQDF_ADAPTER_MODE device_mode; + enum QDF_OPMODE device_mode; uint8_t sta_id; /* This iface station ID */ uint8_t session_id; qdf_spinlock_t interface_lock; diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index 9c358792aa8d..5bf79f8a72f9 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -2061,7 +2061,7 @@ struct hdd_adapter *hdd_get_adapter(struct hdd_context *hdd_ctx, * * Return: Device mode */ -enum tQDF_ADAPTER_MODE hdd_get_device_mode(uint32_t session_id); +enum QDF_OPMODE hdd_get_device_mode(uint32_t session_id); void hdd_deinit_adapter(struct hdd_context *hdd_ctx, struct hdd_adapter *adapter, bool rtnl_held); diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index c7a493bb9694..7cf51112dd02 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -6235,7 +6235,7 @@ struct hdd_adapter *hdd_get_adapter(struct hdd_context *hdd_ctx, return NULL; } -enum tQDF_ADAPTER_MODE hdd_get_device_mode(uint32_t session_id) +enum QDF_OPMODE hdd_get_device_mode(uint32_t session_id) { struct hdd_context *hdd_ctx; struct hdd_adapter *adapter;