bcmdhd: fix build error after source merge
authorMichael Benedict <michaelbt@live.com>
Fri, 11 Oct 2019 07:19:43 +0000 (18:19 +1100)
committerMichael Benedict <michaelbt@live.com>
Sat, 12 Oct 2019 11:54:31 +0000 (22:54 +1100)
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) ?
                                        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;
                                }
                                if ((!pre_channel && channel)) {
                                        pre_band = band;