return (!((ch >= 2412) && (ch <= 2484)));
}
+/* struct ath6kl_node_table::nt_nodelock is locked when calling this */
static void ath6kl_cfg80211_scan_node(void *arg, struct bss *ni)
{
struct wiphy *wiphy = (struct wiphy *)arg;
"%s: bssid %pM ch %d freq %d size %d\n", __func__,
mgmt->bssid, channel->hw_value, freq, size);
cfg80211_inform_bss_frame(wiphy, channel, mgmt,
- size, signal, GFP_KERNEL);
+ size, signal, GFP_ATOMIC);
kfree(ieeemgmtbuf);
}