diff options
author | bschmidt <bschmidt@FreeBSD.org> | 2011-03-13 12:21:04 +0000 |
---|---|---|
committer | bschmidt <bschmidt@FreeBSD.org> | 2011-03-13 12:21:04 +0000 |
commit | e31826f679cd5be5a21f3cd3c7a59a3b191be5fe (patch) | |
tree | 400a6dcb4528be0fc522b80a2c084b44801ad53a /sys/net80211 | |
parent | 6a3ac63bc7819f937745e47dd8baf0f9ef97e008 (diff) | |
download | FreeBSD-src-e31826f679cd5be5a21f3cd3c7a59a3b191be5fe.zip FreeBSD-src-e31826f679cd5be5a21f3cd3c7a59a3b191be5fe.tar.gz |
Fix a cut&paste error while parsing htcap/htinfo elements. This one is
reponsible for not filling ni_htrates if a pre-ht information element is
present.
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_sta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_sta.c b/sys/net80211/ieee80211_sta.c index 0a5d7db..f8d488a 100644 --- a/sys/net80211/ieee80211_sta.c +++ b/sys/net80211/ieee80211_sta.c @@ -1544,7 +1544,7 @@ sta_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, htcap = frm; } else if (ishtinfooui(frm)) { if (htinfo == NULL) - htcap = frm; + htinfo = frm; } } /* XXX Atheros OUI support */ |