From: Luciano Coelho Date: Fri, 13 Jun 2014 13:30:05 +0000 (+0300) Subject: mac80211: introduce refcount for queue_stop_reasons X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~18^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cca07b00a56d6ddd339e457dfd1a229222b9acf5;p=pandora-kernel.git mac80211: introduce refcount for queue_stop_reasons Sometimes different vifs may be stopping the queues for the same reason (e.g. when several interfaces are performing a channel switch). Instead of using a bitmask for the reasons, use an integer that holds a refcount instead. In order to keep it backwards compatible, introduce a boolean in some functions that tell us whether the queue stopping should be refcounted or not. For now, use not refcounted for all calls to keep it functionally the same as before. Signed-off-by: Luciano Coelho Signed-off-by: Johannes Berg --- Reading git-diff-tree failed