wireless-drivers: Dynamically allocate struct station_info
authorToke Høiland-Jørgensen <toke@toke.dk>
Thu, 10 May 2018 12:57:35 +0000 (14:57 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 12 May 2018 08:51:14 +0000 (11:51 +0300)
commit41bd3d585da2fa480c3ded58965d9ccd2c9221e1
treeb9b8dc86c50bfaead8fcd530594446e88f16535c
parent4f9fb990013c03c5d56266fb4c439816cd84e1a6
wireless-drivers: Dynamically allocate struct station_info

Since the addition of the TXQ stats to cfg80211, the station_info struct
has grown to be quite large, which results in warnings when allocated on
the stack. Fix the affected places to do dynamic allocations instead.

Fixes: 52539ca89f36 ("cfg80211: Expose TXQ stats and parameters to userspace")
Reviewed-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath6kl/main.c
drivers/net/wireless/ath/wil6210/debugfs.c
drivers/net/wireless/ath/wil6210/wmi.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
drivers/net/wireless/marvell/mwifiex/uap_event.c
drivers/net/wireless/quantenna/qtnfmac/event.c