]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add ieee80211_get_he_iftype_cap() helper
authorJohn Crispin <john@phrozen.org>
Tue, 21 May 2019 15:02:58 +0000 (17:02 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 14 Jun 2019 12:10:47 +0000 (14:10 +0200)
commit4e6d9c786358b441d4df215c564b88ed8856443f
tree9c8bf2a9af5b05d1999070ef669c5a03fc39c79a
parentd68c569e6f0fd058a00d147e366ffd2b92d1b66a
mac80211: add ieee80211_get_he_iftype_cap() helper

This function is similar to ieee80211_get_he_sta_cap() but allows passing
the iftype. Also make ieee80211_get_he_sta_cap() use the new helper
rather than duplicating the code.

Signed-off-by: Shashidhar Lakkavalli <slakkavalli@datto.com>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h