mac80211: update to wireless-testing 2010-10-15, add a few ath9k fixes and performanc...
[openwrt/staging/yousong.git] / package / mac80211 / patches / 301-ath9k_cc_lock_fix.patch
1 --- a/drivers/net/wireless/ath/ath9k/init.c
2 +++ b/drivers/net/wireless/ath/ath9k/init.c
3 @@ -577,6 +577,7 @@ static int ath9k_init_softc(u16 devid, s
4 common->hw = sc->hw;
5 common->priv = sc;
6 common->debug_mask = ath9k_debug;
7 + spin_lock_init(&common->cc_lock);
8
9 spin_lock_init(&sc->wiphy_lock);
10 spin_lock_init(&sc->sc_resetlock);