> +++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c > @@ -2971,7 +2971,11 @@ static int ath6kl_stop_ap(struct wiphy *wiphy, > struct net_device *dev) > return -ENOTCONN; > > ath6kl_wmi_disconnect_cmd(ar->wmi, vif->fw_vif_idx); > + > + spin_lock_bh(&vif->if_lock); > clear_bit(CONNECTED, &vif->flags); > + netif_carrier_off(vif->ndev); > + spin_unlock_bh(&vif->if_lock); > The addition of the locking seems rather odd.
johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html