Fix build with clang 3.6, silence -Wcast-qual warning.
Sponsored by: The FreeBSD Foundation Acked by: adrian
This commit is contained in:
parent
e365f36c32
commit
69a2ec4a19
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280127
@ -4555,7 +4555,8 @@ wpi_process_key(struct ieee80211vap *vap, const struct ieee80211_key *k,
|
||||
|
||||
if (vap->iv_state == IEEE80211_S_RUN) {
|
||||
ieee80211_iterate_nodes(&ic->ic_sta,
|
||||
set ? wpi_load_key_cb : wpi_del_key_cb, (void *)k);
|
||||
set ? wpi_load_key_cb : wpi_del_key_cb,
|
||||
__DECONST(void *, k));
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user