bcmdhd: fix build error after source merge
authorMichael Benedict <michaelbt@live.com>
Fri, 11 Oct 2019 07:19:43 +0000 (18:19 +1100)
committerivanmeler <i_ivan@windowslive.com>
Wed, 13 Apr 2022 21:14:00 +0000 (21:14 +0000)
Signed-off-by: Michael Benedict <michaelbt@live.com>
drivers/net/wireless/bcmdhd4361/wl_cfg80211.c

index b6e4c04ef1862f62f24938203bbde72015232e83..7a5f7e0666f602aea407d02822799a0b6fa6ca9c 100644 (file)
@@ -19432,7 +19432,7 @@ _Pragma("GCC diagnostic ignored \"-Wcast-qual\"")
                                        channel = wf_chspec_ctlchan(
                                                wl_chspec_driver_to_host(chanspec));
                                        band = (channel <= CH_MAX_2G_CHANNEL) ?
-                                               IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ;
+                                               NL80211_BAND_2GHZ : NL80211_BAND_5GHZ;
                                }
                                if ((!pre_channel && channel)) {
                                        pre_band = band;