From: Ilan Peer Copy the Instant Communication flag when storing the NAN configuration. Signed-off-by: Ilan Peer Signed-off-by: Miri Korenblit --- net/mac80211/cfg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index bd1a857c812d..eeab1b515e77 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -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)); -- 2.34.1