Search Linux Wireless

Re: [PATCH 5/7] mt76x02: init beacon config for mt76x2u

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Initialize beaconing also on mt76x2u.
> 
> Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx>
> ---
>  drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c b/drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c
> index 0be3784f44fb..3737e9fa8295 100644
> --- a/drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c
> +++ b/drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c
> @@ -207,11 +207,7 @@ int mt76x2u_init_hardware(struct mt76x02_dev *dev)
>  			mt76x02_mac_shared_key_setup(dev, i, k, NULL);
>  	}
>  
> -	mt76_clear(dev, MT_BEACON_TIME_CFG,
> -		   MT_BEACON_TIME_CFG_TIMER_EN |
> -		   MT_BEACON_TIME_CFG_SYNC_MODE |
> -		   MT_BEACON_TIME_CFG_TBTT_EN |
> -		   MT_BEACON_TIME_CFG_BEACON_TX);
> +	mt76x02_init_beacon_config(dev);
>  
>  	mt76_rmw(dev, MT_US_CYC_CFG, MT_US_CYC_CNT, 0x1e);
>  	mt76_wr(dev, MT_TXOP_CTRL_CFG, 0x583f);
> -- 
> 1.9.3
> 

I think this can be squashed with 4/7



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux