On Wed, Sep 10, 2014 at 07:39:00PM +0200, Stefan Sperling wrote:
> I think ieee80211_clean_cached() is fine.
> The function only removes notes in CACHE state. These are nodes
> that are "visible" but haven't otherwise interacted with us.
> 
> There are additional states, all of which refer to nodes which
> are part of the node cache (so perhaps IEEE80211_STA_CACHE is a
> misleading name):

Ok, sorry I missed that; thanks for the explanation!

> To me, the name ieee80211_purge_cache() would imply that all nodes
> were removed regardless of the state they're in.

Yup, agreed; bikshedding withdrawn.  :)

Tested on:

iwn0 at pci3 dev 0 function 0 "Intel WiFi Link 5100" rev 0x00: msi, MIMO 1T2R, 
MoW

ok kspillner@

Reply via email to