qcacld-3.0: Rename hdd_ap_ctx uPrivacy field

Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged" so rename field
uPrivacy in struct hdd_ap_ctx.

Change-Id: I9e0af2e7b61b4678f28868142a0864b1d5d5db77
CRs-Fixed: 2134920
This commit is contained in:
Jeff Johnson 2017-10-27 14:02:53 -07:00 • committed by snandini
commit c8d94a1ad1
2 changed files with 6 additions and 6 deletions

View file

@ -810,12 +810,12 @@ struct hdd_station_info {
* struct hdd_ap_ctx - SAP/P2PGO specific information
* @hostapd_state: state control information
* @broadcast_sta_id: Station ID assigned after BSS starts
* @privacy: The privacy bits of configuration
*/
struct hdd_ap_ctx {
struct hdd_hostapd_state hostapd_state;
uint8_t broadcast_sta_id;
uint8_t uPrivacy; /* The privacy bits of configuration */
uint8_t privacy;
tSirWPSPBCProbeReq WPSPBCProbeReq;

View file

@ -1513,7 +1513,7 @@ QDF_STATUS hdd_hostapd_sap_event_cb(tpSap_Event pSapEvent,
/* @@@ need wep logic here to set privacy bit */
qdf_status =
hdd_softap_register_bc_sta(adapter,
ap_ctx->uPrivacy);
ap_ctx->privacy);
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
hdd_warn("Failed to register BC STA %d",
qdf_status);
@ -1888,7 +1888,7 @@ QDF_STATUS hdd_hostapd_sap_event_cb(tpSap_Event pSapEvent,
qdf_status = hdd_softap_register_sta(
adapter,
true,
ap_ctx->uPrivacy,
ap_ctx->privacy,
event->staId, 0, 0,
(struct qdf_mac_addr *)
wrqu.addr.sa_data,
@ -1901,7 +1901,7 @@ QDF_STATUS hdd_hostapd_sap_event_cb(tpSap_Event pSapEvent,
qdf_status = hdd_softap_register_sta(
adapter,
false,
ap_ctx->uPrivacy,
ap_ctx->privacy,
event->staId, 0, 0,
(struct qdf_mac_addr *)
wrqu.addr.sa_data,
@ -7729,7 +7729,7 @@ int wlan_hdd_cfg80211_start_bss(struct hdd_adapter *adapter,
pConfig->privacy = (pMgmt_frame->u.beacon.capab_info &
WLAN_CAPABILITY_PRIVACY) ? true : false;
(WLAN_HDD_GET_AP_CTX_PTR(adapter))->uPrivacy = pConfig->privacy;
(WLAN_HDD_GET_AP_CTX_PTR(adapter))->privacy = pConfig->privacy;
/*Set wps station to configured */
pIe = wlan_hdd_get_wps_ie_ptr(pBeacon->tail, pBeacon->tail_len);