|
@@ -538,6 +538,7 @@ ath5k_pci_probe(struct pci_dev *pdev,
|
|
|
sc->iobase = mem; /* So we can unmap it on detach */
|
|
|
sc->cachelsz = csz * sizeof(u32); /* convert to bytes */
|
|
|
sc->opmode = NL80211_IFTYPE_STATION;
|
|
|
+ sc->bintval = 1000;
|
|
|
mutex_init(&sc->lock);
|
|
|
spin_lock_init(&sc->rxbuflock);
|
|
|
spin_lock_init(&sc->txbuflock);
|
|
@@ -2755,9 +2756,6 @@ static int ath5k_add_interface(struct ieee80211_hw *hw,
|
|
|
goto end;
|
|
|
}
|
|
|
|
|
|
- /* Set to a reasonable value. Note that this will
|
|
|
- * be set to mac80211's value at ath5k_config(). */
|
|
|
- sc->bintval = 1000;
|
|
|
ath5k_hw_set_lladdr(sc->ah, conf->mac_addr);
|
|
|
|
|
|
ret = 0;
|