Skip to content
Commit 959eb2fd authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211_hwsim: stop using pointers as cookies



Instead of using pointers, use sequentially assigned cookies.
This is easier to understand while debugging and also avoids
problems when the pointer is reused for the next allocation.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 00eeccc4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment