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)
commitd7edf40c15e85b44c4bef146819b664089b827b1
tree9c8bf2a9af5b05d1999070ef669c5a03fc39c79a
parent26f7044e95042daabcf1c71796a0e804a83c979f
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