]> 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)
commit52484896332e8f677698ae56882024036b4596e9
tree9c8bf2a9af5b05d1999070ef669c5a03fc39c79a
parent2be1019670c3bf5bb0dba3599f4c5ab17fb555ca
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