8 + uint i, band[3], bands;
11 WL_TRACE(("%s: SIOCGIWNAME\n", dev->name));
23 - strcpy(cap, "abgn");
27 + for (i = 1; i <= band[0]; i++) {
28 + bands |= dtoh32(band[i]);
31 + if (bands & WLC_BAND_5G)
33 + if (bands & WLC_BAND_2G)
35 + if (phytype == WLC_PHY_TYPE_N)