Search Linux Wireless

Re: [PATCH 3.14.0-rc5 v3 3/10] rsi: Adding core and main files

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

 



On Mon, 2014-03-03 at 13:47 +0530, Fariya Fatima wrote:

> + * @return 0 on success, -1 on failure.

The function should be void, you don't use its return value, nor would
that make sense.

> +xmit_fail:
> +	rsi_dbg(ERR_ZONE, "%s: Failed to queue packet\n", __func__);
> +	if (skb)
> +		dev_kfree_skb(skb);

You need to use the mac80211 free function for xmit skbs.

johannes


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux