Search Linux Wireless

Re: [RFC PATCHv3 2/2] mac80211: Add support for connection quality monitoring

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

 



On Wed, 2010-03-17 at 15:01 +0200, Juuso Oikarinen wrote:

> +void ieee80211_cqm_notify(struct ieee80211_vif *vif,
> +			  enum nl80211_cqm_state rssi_state)
> +{
> +	struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
> +
> +	cfg80211_cqm_notify(sdata->dev, rssi_state, GFP_KERNEL);
> +}
> +EXPORT_SYMBOL(ieee80211_cqm_notify);

How do you know GFP_KERNEL is OK? The driver might call this from an
interrupt? Seems better to me to ask the driver for the allocation flags
too.

johannes

--
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