diff options
| author | Brian Feldman <green@FreeBSD.org> | 2003-11-04 23:47:19 +0000 |
|---|---|---|
| committer | Brian Feldman <green@FreeBSD.org> | 2003-11-04 23:47:19 +0000 |
| commit | def19aab78b51c609582f305bdc8883420c42325 (patch) | |
| tree | 57476d586413bbed81e6cf004e638ab376452571 | |
| parent | 5eebbfd65313f313d4019b264c16e654a4fda689 (diff) | |
Notes
| -rw-r--r-- | sys/dev/wi/if_wi.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index e4076ff5de1e..8313a89ddbe0 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -655,6 +655,15 @@ wi_init(void *arg) wi_write_val(sc, WI_RID_PORTTYPE, WI_PORTTYPE_ADHOC); break; case IEEE80211_M_HOSTAP: + /* + * For PRISM cards, override the empty SSID, because in + * HostAP mode the controller will lock up otherwise. + */ + if (sc->sc_firmware_type == WI_INTERSIL && + ic->ic_des_esslen == 0) { + ic->ic_des_essid[0] = ' '; + ic->ic_des_esslen = 1; + } wi_write_val(sc, WI_RID_PORTTYPE, WI_PORTTYPE_HOSTAP); break; case IEEE80211_M_MONITOR: |
