qcacmn: Correct the structure of rsn_mdie

The function util_mdie_match() will get the value of
mobility_domain. Since the structure is not right, it
will get the ie ID and length instead of the right
value.

Change-Id: I1d3d831ebf39fedc17c0f88a88d82114df9e6979
CRs-Fixed: 2147555
This commit is contained in:
Paul Zhang
2017-11-28 14:16:37 +08:00
committed by snandini
parent e7c1401cf0
commit d1e56f9082

View File

@@ -878,11 +878,17 @@ struct wlan_tim_ie {
/** /**
* struct rsn_mdie: mobility domain IE * struct rsn_mdie: mobility domain IE
* @rsn_id: RSN IE id
* @rsn_len: RSN IE len
* @mobility_domain: mobility domain info * @mobility_domain: mobility domain info
* @ft_capab: ft capability * @ft_capab: ft capability
*
* Reference 9.4.2.47 Mobility Domain element (MDE) of 802.11-2016
*/ */
struct rsn_mdie { struct rsn_mdie {
uint8_t mobility_domain[3]; uint8_t rsn_id;
uint8_t rsn_len;
uint8_t mobility_domain[2];
uint8_t ft_capab; uint8_t ft_capab;
} qdf_packed; } qdf_packed;