aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/mlme.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r--net/wireless/mlme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c
index 12b3edf70a7b..1615e503f8e3 100644
--- a/net/wireless/mlme.c
+++ b/net/wireless/mlme.c
@@ -272,11 +272,11 @@ void cfg80211_oper_and_ht_capa(struct ieee80211_ht_cap *ht_capa,
272 272
273 p1 = (u8*)(ht_capa); 273 p1 = (u8*)(ht_capa);
274 p2 = (u8*)(ht_capa_mask); 274 p2 = (u8*)(ht_capa_mask);
275 for (i = 0; i<sizeof(*ht_capa); i++) 275 for (i = 0; i < sizeof(*ht_capa); i++)
276 p1[i] &= p2[i]; 276 p1[i] &= p2[i];
277} 277}
278 278
279/* Do a logical ht_capa &= ht_capa_mask. */ 279/* Do a logical vht_capa &= vht_capa_mask. */
280void cfg80211_oper_and_vht_capa(struct ieee80211_vht_cap *vht_capa, 280void cfg80211_oper_and_vht_capa(struct ieee80211_vht_cap *vht_capa,
281 const struct ieee80211_vht_cap *vht_capa_mask) 281 const struct ieee80211_vht_cap *vht_capa_mask)
282{ 282{