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:
Debasis Das
2020-09-02 11:54:20 +05:30
committed by snandini
부모 9fed3d69fb
커밋 10aab5f245
2개의 변경된 파일19개의 추가작업 그리고 6개의 파일을 삭제

파일 보기

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