Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f65c309 authored by Felix Fietkau's avatar Felix Fietkau Committed by John W. Linville
Browse files

ath9k_hw: remove ah->beacon_interval

parent 6da5a720
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -407,7 +407,6 @@ static void ath9k_hw_init_defaults(struct ath_hw *ah)
	ah->sta_id1_defaults =
	ah->sta_id1_defaults =
		AR_STA_ID1_CRPT_MIC_ENABLE |
		AR_STA_ID1_CRPT_MIC_ENABLE |
		AR_STA_ID1_MCAST_KSRCH;
		AR_STA_ID1_MCAST_KSRCH;
	ah->beacon_interval = 100;
	ah->enable_32kHz_clock = DONT_USE_32KHZ;
	ah->enable_32kHz_clock = DONT_USE_32KHZ;
	ah->slottime = (u32) -1;
	ah->slottime = (u32) -1;
	ah->globaltxtimeout = (u32) -1;
	ah->globaltxtimeout = (u32) -1;
@@ -1628,8 +1627,6 @@ void ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period)
{
{
	int flags = 0;
	int flags = 0;


	ah->beacon_interval = beacon_period;

	ENABLE_REGWRITE_BUFFER(ah);
	ENABLE_REGWRITE_BUFFER(ah);


	switch (ah->opmode) {
	switch (ah->opmode) {
+0 −1
Original line number Original line Diff line number Diff line
@@ -764,7 +764,6 @@ struct ath_hw {
	u8 txpower_limit;
	u8 txpower_limit;
	int16_t txpower_indexoffset;
	int16_t txpower_indexoffset;
	int coverage_class;
	int coverage_class;
	u32 beacon_interval;
	u32 slottime;
	u32 slottime;
	u32 globaltxtimeout;
	u32 globaltxtimeout;