| 1406 | } |
| 1407 | |
| 1408 | static struct ieee80211_channel * |
| 1409 | findhtchan(struct ieee80211com *ic, struct ieee80211_channel *c, int htflags) |
| 1410 | { |
| 1411 | return ieee80211_find_channel(ic, c->ic_freq, |
| 1412 | (c->ic_flags &~ IEEE80211_CHAN_HT) | htflags); |
| 1413 | } |
| 1414 | |
| 1415 | /* |
| 1416 | * Adjust a channel to be HT/non-HT according to the vap's configuration. |
no test coverage detected