Search Linux Wireless

Re: [PATCH v3 1/2] wifi: cfg80211: define and use wiphy guard

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

 




On Fri, 2024-11-22 at 09:42 +0100, Johannes Berg wrote:

Hello Johannes,

> @@ -10113,35 +10080,29 @@ static int nl80211_start_radar_detection(struct sk_buff *skb,
>                 return -EINVAL;
>         }
>  
> [....]
> 
> -unlock:
> -       wiphy_unlock(wiphy);
>  
> -       return err;
> +       return 0;
>  }
>  

This hunk is incorrect, any error from last called function
rdev_start_radar_detection() is no longer propagated.


-- 
Maxime







[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