diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-10-01 11:52:07 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-10-02 09:58:36 +0200 |
commit | b60ad3485106b5845113e7a2745abb7e64b15d6d (patch) | |
tree | 1edbb0fdc3876e3a34103056a20d39ad3460bead /security | |
parent | cfg80211: regulatory: make initialization more robust (diff) | |
download | linux-dev-b60ad3485106b5845113e7a2745abb7e64b15d6d.tar.xz linux-dev-b60ad3485106b5845113e7a2745abb7e64b15d6d.zip |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions