summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-12-17 03:05:30 +0000
committersam <sam@FreeBSD.org>2004-12-17 03:05:30 +0000
commit0226dc1c6fd11d3dcb238a8ee1427aae74c8f79d (patch)
tree51cf158db5d5d0acb23b22eeeea639fe557dc413 /sys
parentdc6e9b46a9817cf43edb1a19162566c41eff0de0 (diff)
downloadFreeBSD-src-0226dc1c6fd11d3dcb238a8ee1427aae74c8f79d.zip
FreeBSD-src-0226dc1c6fd11d3dcb238a8ee1427aae74c8f79d.tar.gz
remove power save logic from the tx path; the driver isn't ready to support
it so don't mislead folks
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wi/if_wi.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index 3c14e8c..e59bd3c 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -931,12 +931,6 @@ wi_start(struct ifnet *ifp)
m_freem(m0);
continue;
}
- if ((ni->ni_flags & IEEE80211_NODE_PWR_MGT) &&
- (m0->m_flags & M_PWR_SAV) == 0) {
- ieee80211_pwrsave(ic, ni, m0);
- ieee80211_free_node(ni);
- continue;
- }
ifp->if_opackets++;
m_copydata(m0, 0, ETHER_HDR_LEN,
(caddr_t)&frmhdr.wi_ehdr);
OpenPOWER on IntegriCloud