mbox series

[v3,0/1] wifi: ath11k: mac: fix struct ieee80211_sband_iftype_data handling

Message ID 20230927142708.2897504-1-kvalo@kernel.org (mailing list archive)
Headers show
Series wifi: ath11k: mac: fix struct ieee80211_sband_iftype_data handling | expand

Message

Kalle Valo Sept. 27, 2023, 2:27 p.m. UTC
From: Kalle Valo <quic_kvalo@quicinc.com>

Fix a sparse warning in ath11k.

v3:

* check NULL from ieee80211_get_he_iftype_cap_vif()

v2: https://patchwork.kernel.org/project/linux-wireless/patch/20230926163350.2641064-1-kvalo@kernel.org/

* use ieee80211_get_he_iftype_cap_vif() instead of open coding it

v1: https://patchwork.kernel.org/project/linux-wireless/patch/20230921075440.1539515-1-kvalo@kernel.org/

Kalle Valo (1):
  wifi: ath11k: mac: fix struct ieee80211_sband_iftype_data handling

 drivers/net/wireless/ath/ath11k/mac.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)


base-commit: 73e13f6a439b75a9dbc84bbfa0b0d6624b354853