When the latest set of rfkill patches are applied, b43 hits a WARN_ON that rfkill has not been registered. The test is needed, but not the warning. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- John, This is 2.6.31 material. Larry --- Index: wireless-testing/drivers/net/wireless/b43/rfkill.c =================================================================== --- wireless-testing.orig/drivers/net/wireless/b43/rfkill.c +++ wireless-testing/drivers/net/wireless/b43/rfkill.c @@ -74,7 +74,7 @@ static int b43_rfkill_soft_set(void *dat struct b43_wl *wl = dev->wl; int err = -EINVAL; - if (WARN_ON(!wl->rfkill.registered)) + if (!wl->rfkill.registered) return -EINVAL; mutex_lock(&wl->mutex); -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html