Search Linux Wireless

RE: [PATCH v2] wifi: rtw89: Correct immediate cfg_len calculation for scan_offload_be

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

 



Liang Jie <buaajxlj@xxxxxxx> wrote: 
> diff --git a/drivers/net/wireless/realtek/rtw89/fw.c b/drivers/net/wireless/realtek/rtw89/fw.c
> index 2191c037d72e..2be1bee724ca 100644
> --- a/drivers/net/wireless/realtek/rtw89/fw.c
> +++ b/drivers/net/wireless/realtek/rtw89/fw.c
> @@ -5170,6 +5170,7 @@ int rtw89_fw_h2c_scan_offload_be(struct rtw89_dev *rtwdev,
>         u8 opch_size = sizeof(*opch) * option->num_opch;
>         u8 probe_id[NUM_NL80211_BANDS];
>         u8 cfg_len = sizeof(*h2c);
> +       u8 ver = U8_MAX;
>         unsigned int cond;
>         void *ptr;
>         int ret;

In reverse X'mas tree. Otherwise, looks good to me. 







[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