@@ -184,14 +184,6 @@ static const struct wiphy_wowlan_support wowlan_support = {
#endif
-static inline u8 get_sta_index(struct ieee80211_vif *vif,
- struct wcn36xx_sta *sta_priv)
-{
- return NL80211_IFTYPE_STATION == vif->type ?
- sta_priv->bss_sta_index :
- sta_priv->sta_index;
-}
-
static const char * const wcn36xx_caps_names[] = {
"MCC", /* 0 */
"P2P", /* 1 */
@@ -335,4 +335,12 @@ struct wcn36xx_sta *wcn36xx_sta_to_priv(struct ieee80211_sta *sta)
return (struct wcn36xx_sta *)sta->drv_priv;
}
+static inline u8 get_sta_index(struct ieee80211_vif *vif,
+ struct wcn36xx_sta *sta_priv)
+{
+ return vif->type == NL80211_IFTYPE_STATION ?
+ sta_priv->bss_sta_index :
+ sta_priv->sta_index;
+}
+
#endif /* _WCN36XX_H_ */