qcacld-3.0: Rename hdd_ap_ctx apDisableIntraBssFwd field

Per the Linux coding style "mixed-case names are frowned upon" so
rename field apDisableIntraBssFwd in struct hdd_ap_ctx.

Change-Id: If2442e605a95c8d82df8adf1395e4ed6b53bbbd5
CRs-Fixed: 2134923
This commit is contained in:
Jeff Johnson 2017-10-27 14:52:42 -07:00 • committed by snandini
commit 82ceb08c9a
3 changed files with 5 additions and 4 deletions

View file

@ -809,11 +809,13 @@ struct hdd_station_info {
/**
* struct hdd_ap_ctx - SAP/P2PGO specific information
* @hostapd_state: state control information
* @disable_intrabss_fwd: Prevent forwarding between stations
* @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;
bool disable_intrabss_fwd;
uint8_t broadcast_sta_id;
uint8_t privacy;
@ -823,7 +825,6 @@ struct hdd_ap_ctx {
struct semaphore semWpsPBCOverlapInd;
bool apDisableIntraBssFwd;
qdf_mc_timer_t hdd_ap_inactivity_timer;

View file

@ -13740,14 +13740,14 @@ static int __wlan_hdd_cfg80211_change_bss(struct wiphy *wiphy,
* want to update this parameter
*/
if (-1 != params->ap_isolate) {
adapter->sessionCtx.ap.apDisableIntraBssFwd =
adapter->sessionCtx.ap.disable_intrabss_fwd =
!!params->ap_isolate;
qdf_ret_status = sme_ap_disable_intra_bss_fwd(hdd_ctx->hHal,
adapter->sessionId,
adapter->sessionCtx.
ap.
apDisableIntraBssFwd);
disable_intrabss_fwd);
if (!QDF_IS_STATUS_SUCCESS(qdf_ret_status))
ret = -EINVAL;
}

View file

@ -4337,7 +4337,7 @@ static void __hdd_ipa_w2i_cb(void *priv, enum ipa_dp_evt_type evt,
/* Disable to forward Intra-BSS Rx packets when
* ap_isolate=1 in hostapd.conf
*/
if (!adapter->sessionCtx.ap.apDisableIntraBssFwd) {
if (!adapter->sessionCtx.ap.disable_intrabss_fwd) {
/*
* When INTRA_BSS_FWD_OFFLOAD is enabled, FW will send
* all Rx packets to IPA uC, which need to be forwarded