Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

wifi: cfg80211: cleanup cluster_id when stopping NAN

When NAN is stopped, cluster_id should be set to 0 to indicate that we
are not part of any cluster.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260107142229.9ccb700797ec.I890ac852be6ca0093995655d987ca5c28a26ce3d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Miri Korenblit and committed by
Johannes Berg
36e83df3 f816141c

+2
+2
net/wireless/core.c
··· 265 265 rdev_stop_nan(rdev, wdev); 266 266 wdev->is_running = false; 267 267 268 + eth_zero_addr(wdev->u.nan.cluster_id); 269 + 268 270 rdev->opencount--; 269 271 } 270 272