qcacld-3.0: Replace new instances of tQDF_ADAPTER_MODE

Previously change "qcacld-3.0: Use enum QDF_OPMODE", Change-Id
Ic6f663dac11a100f168b2626c7c0fbcaccbfca4f, replaced all instances of
tQDF_ADAPTER_MODE to QDF_OPMODE in the qcacld-3.0 project. However
since tQDF_ADAPTER_MODE was originally defined in a common project,
and not all references to it could be immediately removed, a legacy
definition was left with the expectation that it would be removed when
all references to it had been updated. Unfortunately new instances of
using tQDF_ADAPTER_MODE have been subsequently added to the project,
so replace them with QDF_OPMODE.

Change-Id: I71cead84151cc0411f7cc5cc13a87a281e7502c0
CRs-Fixed: 2245247
This commit is contained in:
Jeff Johnson 2018-05-20 11:24:25 -07:00 committed by nshrivas
parent 89b3d4261b
commit 36a0abf03b
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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;