On Sun, 2010-03-28 at 12:43 -0700, Jouni Malinen wrote: > + /* > + * Weighted average of the signal strength from Beacon frames in the > + * current BSS. This is in units of 1/16 of the signal unit to maintain > + * accuracy and to speed up calculations, i.e., the value need to be > + * devided by 16 to get the actual value. > + */ divided ;) Ok I wouldn't have noticed if evolution didn't have spell checking... > + if (sig < thold && > + (last_event == 0 || sig < last_event - hyst)) { > + ifmgd->last_cqm_event_signal = sig; > + ieee80211_cqm_rssi_notify( > + &sdata->vif, > + NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW, > + GFP_ATOMIC); > + } else if (sig > thold && > + (last_event == 0 || sig > last_event + hyst)) { > + ifmgd->last_cqm_event_signal = sig; > + ieee80211_cqm_rssi_notify( > + &sdata->vif, > + NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH, > + GFP_ATOMIC); No need for GFP_ATOMIC, GFP_KERNEL should be fine, I think. 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