linux/drivers/staging
Paul Gortmaker 7c6e3f24c3 rtl8192u: align local ieee80211_wmm_ac_param struct fields with global
The <linux/ieee80211.h> and this local file both have a struct of the
same name.  They also have the same field sizes and generally the
same fields, as can be seen here:

   ~/git/linux-head$ git grep -A4 'struct ieee80211_wmm_ac_param {'
   drivers/staging/rtl8192u/ieee80211/ieee80211.h:struct ieee80211_wmm_ac_param {
   drivers/staging/rtl8192u/ieee80211/ieee80211.h- u8 ac_aci_acm_aifsn;
   drivers/staging/rtl8192u/ieee80211/ieee80211.h- u8 ac_ecwmin_ecwmax;
   drivers/staging/rtl8192u/ieee80211/ieee80211.h- u16 ac_txop_limit;
   drivers/staging/rtl8192u/ieee80211/ieee80211.h-};
   --
   include/linux/ieee80211.h:struct ieee80211_wmm_ac_param {
   include/linux/ieee80211.h-      u8 aci_aifsn; /* AIFSN, ACM, ACI */
   include/linux/ieee80211.h-      u8 cw; /* ECWmin, ECWmax (CW = 2^ECW - 1) */
   include/linux/ieee80211.h-      __le16 txop_limit;
   include/linux/ieee80211.h-} __packed;
   ~/git/linux-head$

Here we just align the local field names with the main system one.  Then
we can add an include of the system one and delete the local copy in one
smooth step in a follow-on commit.

Not that the replacement:

 for i in `find . -name '*.[ch]'` ; do sed -i 's/ac_aci_acm_aifsn/aci_aifsn/g' $i ; done
 for i in `find . -name '*.[ch]'` ; do sed -i 's/ac_ecwmin_ecwmax/cw/g' $i ; done
 for i in `find . -name '*.[ch]'` ; do sed -i 's/ac_txop_limit/txop_limit/g' $i ; done

implicitly shows that only one of the three fields is currently used.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-08 09:24:14 +02:00
..
android staging: android: ion_test: unregister the platform device 2015-05-08 09:24:08 +02:00
board
clocking-wizard
comedi staging: gsc_hdpi: Remove dead code 2015-05-08 09:24:12 +02:00
dgap Staging: dgap: Use setup_timer to combine initialization 2015-03-16 16:17:31 +01:00
dgnc staging: dgnc: remove redundant check 2015-05-08 09:24:01 +02:00
emxx_udc Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
fbtft Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
fsl-mc staging: fsl-mc: Remove redundant initalization of the .owner field 2015-05-08 09:24:11 +02:00
ft1000 staging: ft1000: Drop unneeded cast on netdev_priv 2015-04-03 14:00:14 +02:00
fwserial Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
gdm72xx Staging: gdm72xx: use !x instead of x == NULL 2015-03-16 16:28:47 +01:00
gdm724x Staging: gdm724x: replace pr_* with dev_* 2015-03-18 11:21:33 +01:00
goldfish staging/goldfish/goldfish_audio: Fix annotations 2015-03-20 14:13:17 +01:00
gs_fpgaboot
i2o i2o: fix simple_return.cocci warnings 2015-04-30 16:13:13 +02:00
iio Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
lustre Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
media staging: dt3155v4l: remove unused including <linux/version.h> 2015-05-08 09:24:08 +02:00
mt29f_spinand
netlogic staging: netlogic: allocate right size in devm_kzalloc 2015-03-20 14:13:17 +01:00
nvec Staging driver patches for 4.1-rc1 2015-04-13 17:37:33 -07:00
octeon staging: octeon-ethernet: update boilerplate comments 2015-04-30 17:06:09 +02:00
octeon-usb Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
olpc_dcon staging/olpc: drop pci dependencies 2015-04-03 13:56:03 +02:00
ozwpan staging: ozwpan: implement error handling in ozwpan_init() 2015-03-26 13:13:13 +01:00
panel staging: panel: remove duplicate code 2015-04-30 17:10:51 +02:00
rtl8188eu rtl8188eu: don't duplicate ieee80211 constants for status/reason 2015-05-08 09:24:13 +02:00
rtl8192e staging: rtl8192e: Fix DeviceID in rtl8192_pci_findadapter() 2015-05-08 09:24:07 +02:00
rtl8192u rtl8192u: align local ieee80211_wmm_ac_param struct fields with global 2015-05-08 09:24:14 +02:00
rtl8712 rtl8712: don't duplicate ieee80211 constants for status/reason 2015-05-08 09:24:13 +02:00
rtl8723au Staging: rtl8723au: hal: Remove trailing whitespace in odm.c 2015-05-08 09:24:09 +02:00
rts5208 staging: rts5208: Remove RTSX_READ_REG and RTSX_WRITE_REG macros 2015-03-26 13:17:05 +01:00
skein
slicoss Staging: slicoss: Remove redundant and disabled code block 2015-03-27 00:02:52 +01:00
sm7xxfb staging: sm7xxfb: remove unused functions 2015-05-08 09:24:12 +02:00
sm750fb Staging: sm750fb: Fix spelling error in TODO 2015-05-08 09:23:59 +02:00
speakup staging: speakup: Fix warning of line over 80 characters. 2015-04-03 13:43:45 +02:00
ste_rmi4 Staging: ste_rmi4: Use SIMPLE_DEV_PM_OPS() macro 2015-03-20 13:37:31 +01:00
unisys Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
vme
vt6655 staging: vt6655: Checkpatch fix: lines longer than 80 columns 2015-05-08 09:24:12 +02:00
vt6656 Merge 4.0-rc5 into staging-testing 2015-03-23 21:36:48 +01:00
wlan-ng Staging: wlan-ng: Remove typedef prism2sta_accesslist_t 2015-03-23 22:41:16 +01:00
xgifb
Kconfig
Makefile staging: sm750: Fix the Makefile option error 2015-05-08 09:24:11 +02:00
staging.c