From 1f4d9a57e3807d6785931c7dace0d3b3a6e8203a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 17 May 2011 23:02:44 +0000 Subject: [PATCH] revert now unneeded workarounds git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41559 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../compat/freebsd_wlan/net80211/ieee80211_ratectl.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/libs/compat/freebsd_wlan/net80211/ieee80211_ratectl.h b/src/libs/compat/freebsd_wlan/net80211/ieee80211_ratectl.h index 64f28d89b5..a39efb47c5 100644 --- a/src/libs/compat/freebsd_wlan/net80211/ieee80211_ratectl.h +++ b/src/libs/compat/freebsd_wlan/net80211/ieee80211_ratectl.h @@ -83,9 +83,8 @@ static void __inline ieee80211_ratectl_node_init(struct ieee80211_node *ni) { const struct ieee80211vap *vap = ni->ni_vap; - kernel_debugger("ieee80211_ratectl_node_init\n"); + vap->iv_rate->ir_node_init(ni); - kernel_debugger("ieee80211_ratectl_node_init exit\n"); } static void __inline @@ -101,20 +100,14 @@ ieee80211_ratectl_rate(struct ieee80211_node *ni, void *arg, uint32_t iarg) { const struct ieee80211vap *vap = ni->ni_vap; -#ifndef __HAIKU__ return vap->iv_rate->ir_rate(ni, arg, iarg); -#else - return 0; -#endif } static void __inline ieee80211_ratectl_tx_complete(const struct ieee80211vap *vap, const struct ieee80211_node *ni, int status, void *arg1, void *arg2) { -#ifndef __HAIKU__ vap->iv_rate->ir_tx_complete(vap, ni, status, arg1, arg2); -#endif } static void __inline