diff options
| author | Paul Gortmaker <[email protected]> | 2015-04-27 01:25:36 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-05-08 09:24:13 +0200 |
| commit | 5c2918a5ba83c3805f96490de07aee36c16a27b6 (patch) | |
| tree | 6a19ccd22935511ace13a926a5565d43d471943b /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | f9c40f143c257c2f3a7e90914e160f1a50f54f49 (diff) | |
rtl8192u: don't trample on <linux/ieee80211.h> struct namespace
In order to start reducing the duplicated code/constants/macros in this
driver, we need to include <linux/ieee80211.h> to provide the defacto
versions. However this driver has structs with the same name as the
ones in the main include, so namespace collision prevents us from doing
step #1.
Since the structs actually differ in their respective fields, we can't
simply delete the local ones without impacting the runtime; a conversion
to use the global ones can be considered at a later date if desired.
Rename the ones here with a vendor specific prefix so that we won't have
the namespace collision, and hence can continue on with the cleanup.
Automated conversion done with:
for i in `find . -name '*.[ch]'` ; do \
sed -i 's/struct ieee80211_hdr/struct rtl_80211_hdr/g' $i ; \
done
Signed-off-by: Paul Gortmaker <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions