Search Linux Wireless

Re: [PATCH 1/2] wl12xx: implement the tx_frames_pending mac80211 callback

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

 



On Tue, 2011-04-26 at 23:35 +0300, Arik Nemtsov wrote:
> Frames are considered pending when they reside in the driver TX queue or
> already queued in the FW.
> 
> This notion of "pending" is appropriate for power save considerations in
> STA mode, but not necessarily in other modes (for instance P2P-GO).
> 
> Signed-off-by: Arik Nemtsov <arik@xxxxxxxxxx>
> ---

Applied, thanks!


> diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
> index dad81f6..3dc89f7 100644
> --- a/drivers/net/wireless/wl12xx/main.c
> +++ b/drivers/net/wireless/wl12xx/main.c
> @@ -3140,6 +3140,28 @@ out:
>  	return ret;
>  }
>  
> +bool wl1271_tx_frames_pending(struct ieee80211_hw *hw)

Added static here to avoid a sparse warning complaining that this
function is not exported but it was also not declared static.

-- 
Cheers,
Luca.

--
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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux