wifi: mac80211: nan: Update NAN configuration copy

Copy the Instant Communication flag when storing the NAN
configuration.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20261005084458.3666739-3-ilan.peer@intel.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Ilan Peer 2026-10-05 11:44:49 +03:00 committed by Johannes Berg
parent ef650cdd44
commit 05b44bd48f

View File

@ -368,6 +368,7 @@ static int ieee80211_nan_conf_copy(struct cfg80211_nan_conf *dst,
dst->discovery_beacon_interval =
src->discovery_beacon_interval;
dst->enable_dw_notification = src->enable_dw_notification;
dst->instant_comm = src->instant_comm;
memcpy(&dst->band_cfgs, &src->band_cfgs,
sizeof(dst->band_cfgs));