Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144304167
D49368.id152287.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D49368.id152287.diff
View Options
diff --git a/sys/net80211/ieee80211_crypto.h b/sys/net80211/ieee80211_crypto.h
--- a/sys/net80211/ieee80211_crypto.h
+++ b/sys/net80211/ieee80211_crypto.h
@@ -273,6 +273,6 @@
const struct ieee80211_frame *, const struct ieee80211_key *,
uint64_t rsc, int tid);
void ieee80211_notify_michael_failure(struct ieee80211vap *,
- const struct ieee80211_frame *, u_int keyix);
+ const struct ieee80211_frame *, ieee80211_keyix keyix);
#endif /* defined(__KERNEL__) || defined(_KERNEL) */
#endif /* _NET80211_IEEE80211_CRYPTO_H_ */
diff --git a/sys/net80211/ieee80211_crypto.c b/sys/net80211/ieee80211_crypto.c
--- a/sys/net80211/ieee80211_crypto.c
+++ b/sys/net80211/ieee80211_crypto.c
@@ -800,7 +800,8 @@
* modules to handle a NULL key and not to dereference
* it.
*/
- ieee80211_notify_michael_failure(vap, wh, -1);
+ ieee80211_notify_michael_failure(vap, wh,
+ IEEE80211_KEYIX_NONE);
return (0);
}
diff --git a/sys/net80211/ieee80211_freebsd.c b/sys/net80211/ieee80211_freebsd.c
--- a/sys/net80211/ieee80211_freebsd.c
+++ b/sys/net80211/ieee80211_freebsd.c
@@ -870,7 +870,7 @@
void
ieee80211_notify_michael_failure(struct ieee80211vap *vap,
- const struct ieee80211_frame *wh, u_int keyix)
+ const struct ieee80211_frame *wh, ieee80211_keyix keyix)
{
struct ifnet *ifp = vap->iv_ifp;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 6:14 PM (1 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28482144
Default Alt Text
D49368.id152287.diff (1 KB)
Attached To
Mode
D49368: net80211: cleanup keyidx argument of ieee80211_notify_michael_failure()
Attached
Detach File
Event Timeline
Log In to Comment