Search Linux Wireless

Re: [RFC v4 06/13] rtw88: fw and efuse files

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

 



On Sat, Oct 13, 2018 at 05:00:38PM +0800, yhchuang@xxxxxxxxxxx wrote:
> +rtw_beacon_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
> +{
> +	struct sk_buff *skb_new;
> +
> +	if (vif->type != NL80211_IFTYPE_AP &&
> +	    vif->type != NL80211_IFTYPE_ADHOC &&
> +	    !ieee80211_vif_is_mesh(vif)) {
> +		skb_new = alloc_skb(1, GFP_KERNEL);
> +		skb_put(skb_new, 1);

Error check.

Thanks
Stanislaw



[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