commit | b60ad3485106b5845113e7a2745abb7e64b15d6d | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Mon Oct 01 11:52:07 2018 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Oct 02 09:58:36 2018 +0200 |
tree | 1edbb0fdc3876e3a34103056a20d39ad3460bead | |
parent | 71e5e886806ee3f8e0c44ed945eb2e4d6659c6e3 [diff] |
cfg80211: move cookie_counter out of wiphy There's no reason for drivers to be able to access the cfg80211 internal cookie counter; move it out of the wiphy into the rdev structure. While at it, also make it never assign 0 as a cookie (we consider that invalid in some places), and warn if we manage to do that for some reason (wrapping is not likely to happen with a u64.) Signed-off-by: Johannes Berg <johannes.berg@intel.com>