Re: [PATCH] mac80211 hwsim: make radio list dynamic

Johannes Berg
2008-09-11T22:39:13Z

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

> static inline void hwsim_check_magic(struct ieee80211_vif *vif)
> {
> struct hwsim_vif_priv *vp = (void *)vif->drv_priv;
> - WARN_ON(vp->magic != HWSIM_VIF_MAGIC);
> + if (WARN_ON(vp->magic != HWSIM_VIF_MAGIC))
> + printk(KERN_DEBUG "iface type is %d!\n", vif->type);

Oops, that hunk wasn't supposed to be there.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]