On Friday 02 October 2009 19:54:34 Larry Finger wrote:
> In Bugzilla No. 14181, a PowerMac G4 crashes on ifdown or
> module unload because the rfkill polling has not been stopped.
> For the x86 architectures, the attempt to reach a now unmapped
> register is not fatal as it is on PPC.
>
> Signed-off-by: Larry Finger <[email protected]>
> ---
>
> Michael,
>
> Does this look right?
I don't know how rfkill works, so I can't tell.
>
> Larry
> ---
>
> Index: wireless-testing/drivers/net/wireless/b43/main.c
> ===================================================================
> --- wireless-testing.orig/drivers/net/wireless/b43/main.c
> +++ wireless-testing/drivers/net/wireless/b43/main.c
> @@ -4500,6 +4500,7 @@ static void b43_op_stop(struct ieee80211
> cancel_work_sync(&(wl->beacon_update_trigger));
>
> mutex_lock(&wl->mutex);
> + wiphy_rfkill_stop_polling(hw->wiphy);
> if (b43_status(dev) >= B43_STAT_STARTED) {
> dev = b43_wireless_core_stop(dev);
> if (!dev)
>
>
--
Greetings, Michael.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev