소스 검색

qcacld-3.0: Remove obsolete SAP support for SIOCSIWMLME

At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
SAP implementation of SIOCSIWMLME now performs no useful actions, so
remove it.

Change-Id: I5da7e63d2efbc0d97dbdaec306bad2ae7a9cb0ef
CRs-Fixed: 2115350
Jeff Johnson 7 년 전
부모
커밋
414fd67eef
1개의 변경된 파일1개의 추가작업 그리고 41개의 파일을 삭제
  1. 1 41
      core/hdd/src/wlan_hdd_hostapd.c

+ 1 - 41
core/hdd/src/wlan_hdd_hostapd.c

@@ -4851,46 +4851,6 @@ int iw_get_wpspbc_probe_req_ies(struct net_device *dev,
 	return ret;
 }
 
-/**
- * __iw_set_ap_mlme() - set ap mlme
- * @dev: pointer to net_device
- * @info: pointer to iw_request_info
- * @wrqu; pointer to iwreq_data
- * @extra: extra
- *
- * Return; 0 on success, error number otherwise
- */
-static int __iw_set_ap_mlme(struct net_device *dev,
-			  struct iw_request_info *info,
-			  union iwreq_data *wrqu, char *extra)
-{
-	ENTER_DEV(dev);
-	return 0;
-}
-
-/**
- * iw_set_ap_mlme() - SSR wrapper for __iw_set_ap_mlme
- * @dev: pointer to net_device
- * @info: pointer to iw_request_info
- * @wrqu; pointer to iwreq_data
- * @extra: extra
- *
- * Return; 0 on success, error number otherwise
- */
-static int iw_set_ap_mlme(struct net_device *dev,
-			  struct iw_request_info *info,
-			  union iwreq_data *wrqu,
-			  char *extra)
-{
-	int ret;
-
-	cds_ssr_protect(__func__);
-	ret = __iw_set_ap_mlme(dev, info, wrqu, extra);
-	cds_ssr_unprotect(__func__);
-
-	return ret;
-}
-
 /**
  * __iw_get_ap_freq() - get ap frequency
  * @dev - Pointer to the net device.
@@ -5474,7 +5434,7 @@ static const iw_handler hostapd_handler[] = {
 	(iw_handler) NULL,      /* SIOCGIWTHRSPY */
 	(iw_handler) NULL,      /* SIOCSIWAP */
 	(iw_handler) NULL,      /* SIOCGIWAP */
-	(iw_handler) iw_set_ap_mlme,            /* SIOCSIWMLME */
+	(iw_handler) NULL,      /* SIOCSIWMLME */
 	(iw_handler) NULL,      /* SIOCGIWAPLIST */
 	(iw_handler) NULL,      /* SIOCSIWSCAN */
 	(iw_handler) NULL,      /* SIOCGIWSCAN */