summaryrefslogtreecommitdiffstats
path: root/net/phonet/sysctl.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-10-26 16:13:06 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-10-30 09:33:40 +0100
commit50febf6a1a9270b3558671864a27b23f671598ab (patch)
treeba700ee435487e31857d165f836ea084983d10cb /net/phonet/sysctl.c
parent8a2fbedcdc9bec1d613961f97cb87d6b71a66076 (diff)
downloadop-kernel-dev-50febf6a1a9270b3558671864a27b23f671598ab.zip
op-kernel-dev-50febf6a1a9270b3558671864a27b23f671598ab.tar.gz
mac80211: use a counter for remain-on-channel cookie
Instead of using the pointer which can be re-used fairly quickly due to allocator patterns and then makes debugging difficult, maintain a counter and use its value. Since it's a 64-bit value it can't really wrap, but catch that case anyway since it most likely points to a bug somewhere. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/phonet/sysctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud