diff options
author | sam <sam@FreeBSD.org> | 2005-07-22 17:45:48 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-07-22 17:45:48 +0000 |
commit | 7e6c91d028bd32599c1e1f924eb7511dc7c9a542 (patch) | |
tree | b246aa0cc557d8b2b511c0c4fca28e054109d904 /sys/net80211/ieee80211_input.c | |
parent | dd6e7b2fa5ce5c4d9d47db9ae9c0250f871ecbde (diff) | |
download | FreeBSD-src-7e6c91d028bd32599c1e1f924eb7511dc7c9a542.zip FreeBSD-src-7e6c91d028bd32599c1e1f924eb7511dc7c9a542.tar.gz |
simplify tim callback api
MFC after: 3 days
Diffstat (limited to 'sys/net80211/ieee80211_input.c')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index bd5eff9..ac25b76 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -2632,7 +2632,7 @@ ieee80211_node_pwrsave(struct ieee80211_node *ni, int enable) */ if (IEEE80211_NODE_SAVEQ_QLEN(ni) == 0) { if (ic->ic_set_tim != NULL) - ic->ic_set_tim(ic, ni, 0); /* just in case */ + ic->ic_set_tim(ni, 0); /* just in case */ return; } IEEE80211_DPRINTF(ic, IEEE80211_MSG_POWER, @@ -2657,7 +2657,7 @@ ieee80211_node_pwrsave(struct ieee80211_node *ni, int enable) IF_ENQUEUE(&ic->ic_ifp->if_snd, m); } if (ic->ic_set_tim != NULL) - ic->ic_set_tim(ic, ni, 0); + ic->ic_set_tim(ni, 0); } /* @@ -2704,7 +2704,7 @@ ieee80211_recv_pspoll(struct ieee80211com *ic, ieee80211_send_nulldata(ni); ic->ic_stats.is_ps_qempty++; /* XXX node stat */ if (ic->ic_set_tim != NULL) - ic->ic_set_tim(ic, ni, 0); /* just in case */ + ic->ic_set_tim(ni, 0); /* just in case */ return; } /* @@ -2722,7 +2722,7 @@ ieee80211_recv_pspoll(struct ieee80211com *ic, "[%s] recv ps-poll, send packet, queue empty\n", ether_sprintf(ni->ni_macaddr)); if (ic->ic_set_tim != NULL) - ic->ic_set_tim(ic, ni, 0); + ic->ic_set_tim(ni, 0); } m->m_flags |= M_PWR_SAV; /* bypass PS handling */ IF_ENQUEUE(&ic->ic_ifp->if_snd, m); |