mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 14:04:05 +08:00
staging: rtl8723au: Get rid of unused struct ndis_802_11_configuration_fh
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
deff11554f
commit
9a3c056873
@ -2124,11 +2124,6 @@ void rtw_init_registrypriv_dev_network23a(struct rtw_adapter* adapter)
|
||||
|
||||
pdev_network->Configuration.Length=sizeof(struct ndis_802_11_config);
|
||||
pdev_network->Configuration.BeaconPeriod = 100;
|
||||
pdev_network->Configuration.FHConfig.Length = 0;
|
||||
pdev_network->Configuration.FHConfig.HopPattern = 0;
|
||||
pdev_network->Configuration.FHConfig.HopSet = 0;
|
||||
pdev_network->Configuration.FHConfig.DwellTime = 0;
|
||||
|
||||
}
|
||||
|
||||
void rtw_update_registrypriv_dev_network23a(struct rtw_adapter* adapter)
|
||||
|
@ -22,14 +22,6 @@
|
||||
#define NDIS_802_11_LENGTH_RATES 8
|
||||
#define NDIS_802_11_LENGTH_RATES_EX 16
|
||||
|
||||
struct ndis_802_11_configuration_fh {
|
||||
u32 Length; /* Length of structure */
|
||||
u32 HopPattern; /* As defined by 802.11, MSB set */
|
||||
u32 HopSet; /* to one if non-802.11 */
|
||||
u32 DwellTime; /* units are Kusec */
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
FW will only save the channel number in DSConfig.
|
||||
ODI Handler will convert the channel number to freq. number.
|
||||
@ -39,7 +31,6 @@ struct ndis_802_11_config {
|
||||
u32 BeaconPeriod; /* units are Kusec */
|
||||
u32 ATIMWindow; /* units are Kusec */
|
||||
u32 DSConfig; /* Frequency, units are kHz */
|
||||
struct ndis_802_11_configuration_fh FHConfig;
|
||||
};
|
||||
|
||||
struct ndis_802_11_fixed_ies {
|
||||
|
Loading…
Reference in New Issue
Block a user