diff options
author | sam <sam@FreeBSD.org> | 2005-07-08 16:36:02 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-07-08 16:36:02 +0000 |
commit | 20d38d6afa4b51693c5ff741323a2ba23993e6a7 (patch) | |
tree | 02c2aa14a3ba0a2446cccb23dc3a6dc72748958a /sys/net80211 | |
parent | 070db914d46f28849dd0a9754727798b0071deb3 (diff) | |
download | FreeBSD-src-20d38d6afa4b51693c5ff741323a2ba23993e6a7.zip FreeBSD-src-20d38d6afa4b51693c5ff741323a2ba23993e6a7.tar.gz |
fix another instance of the MORE_DATA bit handling for frames on the
power save queue (missed in previous commit)
Submitted by: Bruno Randolf
Approved by: re (scottl)
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 7eac99b..5a58c1a 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -2685,8 +2685,7 @@ ieee80211_recv_pspoll(struct ieee80211com *ic, IEEE80211_DPRINTF(ic, IEEE80211_MSG_POWER, "[%s] recv ps-poll, send packet, %u still queued\n", ether_sprintf(ni->ni_macaddr), qlen); - wh = mtod(m, struct ieee80211_frame_min *); - wh->i_fc[1] |= IEEE80211_FC1_MORE_DATA; + m->m_flags |= M_MORE_DATA; } else { IEEE80211_DPRINTF(ic, IEEE80211_MSG_POWER, "[%s] recv ps-poll, send packet, queue empty\n", |