Commit 9a3c0568 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723au: Get rid of unused struct ndis_802_11_configuration_fh

parent deff1155
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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)
+0 −9
Original line number Diff line number Diff line
@@ -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 {