Home
last modified time | relevance | path

Searched refs:mmie16 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/mac80211/
H A Drx.c979 struct ieee80211_mmie_16 *mmie16; in ieee80211_get_mmie_keyidx() local
994 mmie16 = (struct ieee80211_mmie_16 *) in ieee80211_get_mmie_keyidx()
995 (skb->data + skb->len - sizeof(*mmie16)); in ieee80211_get_mmie_keyidx()
996 if (skb->len >= 24 + sizeof(*mmie16) && in ieee80211_get_mmie_keyidx()
997 mmie16->element_id == WLAN_EID_MMIE && in ieee80211_get_mmie_keyidx()
998 mmie16->length == sizeof(*mmie16) - 2) in ieee80211_get_mmie_keyidx()
999 return le16_to_cpu(mmie16->key_id); in ieee80211_get_mmie_keyidx()