summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlegacy/3945.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2024-08-09 11:51:48 +0200
committerKalle Valo <kvalo@kernel.org>2024-08-16 13:07:03 +0300
commitdaaf0dd0398d5e93b7304f35184ca182ed583681 (patch)
tree6724af475b1d0010e7d685a6633a6f235f3f42a5 /drivers/net/wireless/intel/iwlegacy/3945.c
parentae98f5c9fd8ba84cd408b41faa77e65bf1b4cdfa (diff)
wifi: mwifiex: keep mwifiex_cfg80211_ops constant
With host_mlme support being added mwifiex_cfg80211_ops is no longer constant, but supplemented with the host_mlme related ops when host_mlme support is enabled. This doesn't work with multiple adapters when only few of then have host_mlme support. Duplicate mwifiex_cfg80211_ops before using it and keep the original constant. While at it mark mwifiex_cfg80211_ops const to prevent people from changing it again during runtime. Fixes: 36995892c271c ("wifi: mwifiex: add host mlme for client mode") Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com> Acked-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://patch.msgid.link/20240809-mwifiex-duplicate-mwifiex_cfg80211_ops-v1-1-23e0e6290ace@pengutronix.de
Diffstat (limited to 'drivers/net/wireless/intel/iwlegacy/3945.c')
0 files changed, 0 insertions, 0 deletions