Search Linux Wireless

Re: [PATCH 18/20] mac80211, drivers: remove reset callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 15 August 2007 16:49:38 Johannes Berg wrote:
> -static int b43_dev_reset(struct ieee80211_hw *hw)
> -{
> -	struct b43_wl *wl = hw_to_b43_wl(hw);
> -	struct b43_wldev *dev;
> -	int err = -ENODEV;
> -
> -	mutex_lock(&wl->mutex);
> -	dev = wl->current_dev;
> -	if (dev) {
> -		b43_controller_restart(dev, "Reset by ieee80211 subsystem");
> -		err = 0;
> -	}
> -	mutex_unlock(&wl->mutex);
> -
> -	return 0;
> -}

Ack. This also fixes the bug here, that was on my todo list ;)

-- 
Greetings Michael.
-
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux