@@ -345,6 +345,10 @@
ht_cap, ht_oper, vht_oper,
&chandef, true);
+ sdata_info(sdata,
+ "AP %pM changed bandwidth, orig new config is %d MHz, width %d (%d/%d MHz) %d\n",
+ ifmgd->bssid, chandef.chan->center_freq, chandef.width,
+ chandef.center_freq1, chandef.center_freq2, flags);
/*
* Downgrade the new channel if we associated with restricted
* capabilities. For example, if we associated as a 20 MHz STA
@@ -377,9 +381,9 @@
IEEE80211_STA_DISABLE_160MHZ)) ||
!cfg80211_chandef_valid(&chandef)) {
sdata_info(sdata,
- "AP %pM changed bandwidth in a way we can't support - disconnect\n",
- ifmgd->bssid);
- return -EINVAL;
+ "AP %pM changed bandwidth in a way we can't support %d %d %d - ignore\n",
+ ifmgd->bssid, flags, ifmgd->flags, cfg80211_chandef_valid(&chandef));
+ return 0;
}
switch (chandef.width) {