qcacmn: Make API that informs about scan status non-static
The API wlan_cfg80211_scan_done() abstracts the kernel API cfg80211_scan_done().This should be made accessible throughout the driver by making it non-static. Change-Id: Ic1a882a115d11339909e62e53f040774d5370981
This commit is contained in:
@@ -429,4 +429,17 @@ void wlan_config_sched_scan_plans_to_wiphy(struct wiphy *wiphy,
|
||||
}
|
||||
#endif /* FEATURE_WLAN_SCAN_PNO */
|
||||
|
||||
/**
|
||||
* wlan_cfg80211_scan_done() - Scan completed callback to cfg80211
|
||||
* @netdev: Net device
|
||||
* @req : Scan request
|
||||
* @aborted : true scan aborted false scan success
|
||||
*
|
||||
* This function notifies scan done to cfg80211
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void wlan_cfg80211_scan_done(struct net_device *netdev,
|
||||
struct cfg80211_scan_request *req,
|
||||
bool aborted);
|
||||
#endif
|
||||
|
@@ -806,9 +806,9 @@ static QDF_STATUS wlan_scan_request_dequeue(
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
static void wlan_cfg80211_scan_done(struct net_device *netdev,
|
||||
struct cfg80211_scan_request *req,
|
||||
bool aborted)
|
||||
void wlan_cfg80211_scan_done(struct net_device *netdev,
|
||||
struct cfg80211_scan_request *req,
|
||||
bool aborted)
|
||||
{
|
||||
struct cfg80211_scan_info info = {
|
||||
.aborted = aborted
|
||||
@@ -828,9 +828,9 @@ static void wlan_cfg80211_scan_done(struct net_device *netdev,
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
static void wlan_cfg80211_scan_done(struct net_device *netdev,
|
||||
struct cfg80211_scan_request *req,
|
||||
bool aborted)
|
||||
void wlan_cfg80211_scan_done(struct net_device *netdev,
|
||||
struct cfg80211_scan_request *req,
|
||||
bool aborted)
|
||||
{
|
||||
if (netdev->flags & IFF_UP)
|
||||
cfg80211_scan_done(req, aborted);
|
||||
|
Reference in New Issue
Block a user