qcacld-3.0: Move wlan_hdd_cfg80211_extscan_callback() prototype

The wlan_hdd_cfg80211_extscan_callback() prototype is currently in
wlan_hdd_cfg80211.h, and uses different parameter names than the
implementation. Since the implementation is in wlan_hdd_ext_scan.c,
move the prototype to wlan_hdd_ext_scan.h, and exactly match the
implementation function signature.

Change-Id: Id3bd25f1ef885989b970a08a1e0f9540313c8032
CRs-Fixed: 2412964
This commit is contained in:
Jeff Johnson 2019-03-08 15:30:11 -08:00 • committed by nshrivas
commit 9a0fde3a09
3 changed files with 18 additions and 19 deletions

View file

@ -346,16 +346,6 @@ int wlan_hdd_send_hang_reason_event(struct hdd_context *hdd_ctx,
int wlan_hdd_send_avoid_freq_for_dnbs(struct hdd_context *hdd_ctx,
uint8_t op_chan);
#ifdef FEATURE_WLAN_EXTSCAN
void wlan_hdd_cfg80211_extscan_callback(hdd_handle_t hdd_handle,
const uint16_t evType, void *pMsg);
#else
static inline
void wlan_hdd_cfg80211_extscan_callback(hdd_handle_t hdd_handle,
const uint16_t evType, void *pMsg)
{
}
#endif /* FEATURE_WLAN_EXTSCAN */
/**
* wlan_hdd_rso_cmd_status_cb() - HDD callback to read RSO command status
* @hdd_handle: opaque handle for the hdd context

View file

@ -1354,14 +1354,6 @@ wlan_hdd_cfg80211_extscan_generic_rsp(struct hdd_context *hdd_ctx,
spin_unlock(&context->context_lock);
}
/**
* wlan_hdd_cfg80211_extscan_callback() - ext scan callback
* @hdd_handle: Opaque handle to hdd context
* @event_id: Event identifier
* @msg: Pointer to message
*
* Return: none
*/
void wlan_hdd_cfg80211_extscan_callback(hdd_handle_t hdd_handle,
const uint16_t event_id, void *msg)
{

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2014, 2017-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2014, 2017-2019 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -100,10 +100,27 @@ int wlan_hdd_cfg80211_reset_passpoint_list(struct wiphy *wiphy,
const void *data,
int data_len);
/**
* wlan_hdd_cfg80211_extscan_callback() - ext scan callback
* @hdd_handle: Opaque handle to hdd context
* @event_id: Event identifier
* @msg: Pointer to message
*
* Return: none
*/
void wlan_hdd_cfg80211_extscan_callback(hdd_handle_t hdd_handle,
const uint16_t event_id, void *msg);
void wlan_hdd_cfg80211_extscan_init(struct hdd_context *hdd_ctx);
#else /* FEATURE_WLAN_EXTSCAN */
static inline
void wlan_hdd_cfg80211_extscan_callback(hdd_handle_t hdd_handle,
const uint16_t event_id, void *msg)
{
}
static inline void wlan_hdd_cfg80211_extscan_init(struct hdd_context *hdd_ctx)
{
}