summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/ath.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2005-09-08 10:46:40 +0000
committerhenning <henning@openbsd.org>2005-09-08 10:46:40 +0000
commit5dc5471ed71f98d9b3f6626b54512a03017050ab (patch)
treef0ff451cd74739a4a05d660e99b2a8cbeb953e0a /sys/dev/ic/ath.c
parentRemove FreeBSD if_printf compat function from net80211. (diff)
downloadwireguard-openbsd-5dc5471ed71f98d9b3f6626b54512a03017050ab.tar.xz
wireguard-openbsd-5dc5471ed71f98d9b3f6626b54512a03017050ab.zip
fix reloads where capbilities change
when a new peer in initialized, the configured capailities are copied. this copy is modified as part of the capabilities negotiation. now if teh session drops we want to re-negotiate capabilities at the next establishment, last not least because the configured capabilities might have changed in between (that's how I stumbled over it, added v6 shitz) so copy the configured capabilities over every time a session goes to IDLE state, unless the reason is EVNT_RCVD_OPEN, because then we're in capabilities negotiation.
Diffstat (limited to 'sys/dev/ic/ath.c')
0 files changed, 0 insertions, 0 deletions