qcacld-3.0: Remove channel field from ap_new_caps
Remove unused channel field in struct ap_new_caps. Change-Id: Id2135464b98f6a8864e426a56d5702743bd4aa12 CRs-Fixed: 2492808
This commit is contained in:
parent
d2e9245295
commit
dfecb8d12c
@ -1166,8 +1166,6 @@ struct new_bss_info {
|
||||
struct ap_new_caps {
|
||||
uint16_t capabilityInfo;
|
||||
struct qdf_mac_addr bssId;
|
||||
uint8_t channelId;
|
||||
uint8_t reserved[3];
|
||||
tSirMacSSid ssId;
|
||||
};
|
||||
|
||||
|
@ -1693,9 +1693,7 @@ lim_detect_change_in_ap_capabilities(struct mac_context *mac,
|
||||
(pBeacon->rsnPresent || pBeacon->wpaPresent)) {
|
||||
pe_err("BSS Caps (Privacy) bit 0 in beacon, but WPA or RSN IE present, Ignore Beacon!");
|
||||
return;
|
||||
} else
|
||||
apNewCaps.channelId = wlan_reg_freq_to_chan(
|
||||
mac->pdev, pe_session->curr_op_freq);
|
||||
}
|
||||
qdf_mem_copy((uint8_t *) &apNewCaps.ssId,
|
||||
(uint8_t *) &pBeacon->ssId,
|
||||
pBeacon->ssId.length + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user