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