commit | 959eb2fd70df86a089e9e31be654462235952a24 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Nov 06 11:57:23 2015 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Dec 04 14:43:32 2015 +0100 |
tree | 03a73aad40ab8f4a2a72f52bce6ed8bea074c06b | |
parent | 00eeccc4a9a84afe819062df13cdb47159919a7c [diff] |
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: Johannes Berg <johannes.berg@intel.com>