ДАЙ ВАЙФАЙ СУКА ДАЙ ВАЙФАЙ СУКА ‰ cat /etc/portage/patches/net-wireless/crda/crda-fuck-you.patch
--- crda.c.old 2014-10-24 16:42:32.516228413 +0400
+++ crda.c 2014-10-24 16:44:46.083352953 +0400
@@ -124,12 +124,12 @@
freq_range = &rule->freq_range;
power_rule = &rule->power_rule;
- NLA_PUT_U32(msg, NL80211_ATTR_REG_RULE_FLAGS, rule->flags);
- NLA_PUT_U32(msg, NL80211_ATTR_FREQ_RANGE_START, freq_range->start_freq_khz);
- NLA_PUT_U32(msg, NL80211_ATTR_FREQ_RANGE_END, freq_range->end_freq_khz);
- NLA_PUT_U32(msg, NL80211_ATTR_FREQ_RANGE_MAX_BW, freq_range->max_bandwidth_khz);
- NLA_PUT_U32(msg, NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN, power_rule->max_antenna_gain);
- NLA_PUT_U32(msg, NL80211_ATTR_POWER_RULE_MAX_EIRP, power_rule->max_eirp);
+ NLA_PUT_U32(msg, NL80211_ATTR_REG_RULE_FLAGS, 0);
+ NLA_PUT_U32(msg, NL80211_ATTR_FREQ_RANGE_START, 1);
+ NLA_PUT_U32(msg, NL80211_ATTR_FREQ_RANGE_END, -1);
+ NLA_PUT_U32(msg, NL80211_ATTR_FREQ_RANGE_MAX_BW, -1);
+ NLA_PUT_U32(msg, NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN, -1);
+ NLA_PUT_U32(msg, NL80211_ATTR_POWER_RULE_MAX_EIRP, -1);
return 0;