From: Johannes Berg Date: Fri, 26 Oct 2012 14:13:06 +0000 (+0200) Subject: mac80211: use a counter for remain-on-channel cookie X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~17^2^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50febf6a1a9270b3558671864a27b23f671598ab;p=pandora-kernel.git 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 --- Reading git-diff-tree failed