Seems to work fine on my home network.

ok?

Index: if_wpi.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_wpi.c,v
retrieving revision 1.113
diff -u -p -r1.113 if_wpi.c
--- if_wpi.c    1 Oct 2013 20:06:02 -0000       1.113
+++ if_wpi.c    15 Nov 2013 21:04:54 -0000
@@ -921,6 +921,8 @@ wpi_read_eeprom_channels(struct wpi_soft
                        ic->ic_channels[chan].ic_freq =
                            ieee80211_ieee2mhz(chan, IEEE80211_CHAN_5GHZ);
                        ic->ic_channels[chan].ic_flags = IEEE80211_CHAN_A;
+                       /* We have at least one valid 5GHz channel. */
+                       sc->sc_flags |= WPI_FLAG_HAS_5GHZ;
                }
 
                /* Is active scan allowed on this channel? */

Reply via email to