summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_action.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-09-08 13:19:05 +0000
committerphk <phk@FreeBSD.org>2009-09-08 13:19:05 +0000
commit52972616516a18e69bb2849c2f2e718ee644b27f (patch)
tree9f7c1709b6ce492cd874120e81e8a117cab4ca7d /sys/net80211/ieee80211_action.c
parent2314521104388ada19392a3b2cdaca4ba6f82243 (diff)
downloadFreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.zip
FreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.tar.gz
Revert previous commit and add myself to the list of people who should
know better than to commit with a cat in the area.
Diffstat (limited to 'sys/net80211/ieee80211_action.c')
-rw-r--r--sys/net80211/ieee80211_action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_action.c b/sys/net80211/ieee80211_action.c
index 8c11471..5371f6e 100644
--- a/sys/net80211/ieee80211_action.c
+++ b/sys/net80211/ieee80211_action.c
@@ -105,7 +105,7 @@ ieee80211_send_action_register(int cat, int act, ieee80211_send_action_func *f)
meshlm_send_action[act] = f;
return 0;
case IEEE80211_ACTION_CAT_MESHPATH:
- if (act >= N(hwmp_send_action))
+ if (act > N(hwmp_send_action))
break;
hwmp_send_action[act] = f;
return 0;
OpenPOWER on IntegriCloud