On Fri, 2007-09-07 at 10:28 +0800, Zhu Yi wrote: > Where is the WARN_ON? I ran the iwl4965 driver with net-2.6.24 commit-id > 3259203776dc4c3f99b9fe3b303e3e76b13f934d, tried WEP, CCMP, no problem, > no WARN_ON. Huh, ok, I looked again, it seems I changed the WARN_ON later to be less severe, but there's this code in key.c: ret = key->local->ops->set_key(local_to_hw(key->local), DISABLE_KEY, key->sdata->dev->dev_addr, addr, &key->conf); if (ret) printk(KERN_ERR "mac80211-%s: failed to remove key " "(%d, " MAC_FMT ") from hardware (%d)\n", wiphy_name(key->local->hw.wiphy), key->conf.keyidx, MAC_ARG(addr), ret); which as far as I can tell will trigger with iwlwifi when a key is removed from the hardware acceleration. Maybe my iwlwifi is not new enough though. > Since the mac80211 in net-2.6.24 has some structure change, I modified > the iwlwifi a little bit. You can find the iwlwifi driver for davem's > net-2.6.24 from: > http://intellinuxwireless.org/iwlwifi/v6-iwlwifi-net-2.6.24.patch Thanks. Since wireless-dev is mostly equivalent, can you post patches against that? I know it's suboptimal to be essentially maintaining two drivers.. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part