android_kernel_xiaomi_sm8350/drivers/net/wireless/iwlwifi
Abbas, Mohamed c338ba3ca5 iwlwifi: fix rs_get_rate WARN_ON()
In ieee80211_sta structure there is u64 supp_rates[IEEE80211_NUM_BANDS]
this is filled with all support rate from assoc_resp.  If we associate
with G-band AP only supp_rates of G-band will be set the other band
supp_rates will be set to 0. If the user type this command
this will cause mac80211 to set to new channel, mac80211
does not disassociate in setting new channel, so the active
band is now A-band. then in handling the new essid mac80211 will
kick in the assoc steps which involve sending disassociation frame.
in this mac80211 will WARN_ON sta->supp_rates[A_BAND] == 0.

This fixes:
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1822
http://www.kerneloops.org/searchweek.php?search=rs_get_rate

Signed-off-by: mohamed abbas <mohamed.abbas@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-01-23 15:38:36 -05:00
..
iwl3945-base.c
iwl-3945-commands.h
iwl-3945-core.h
iwl-3945-debug.h
iwl-3945-hw.h
iwl-3945-io.h
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c iwlwifi: fix rs_get_rate WARN_ON() 2009-01-23 15:38:36 -05:00
iwl-3945-rs.h
iwl-3945.c
iwl-3945.h
iwl-4965-hw.h
iwl-4965.c
iwl-5000-hw.h
iwl-5000.c
iwl-agn-hcmd-check.c
iwl-agn-rs.c iwlwifi: fix rs_get_rate WARN_ON() 2009-01-23 15:38:36 -05:00
iwl-agn-rs.h
iwl-agn.c
iwl-calib.c
iwl-calib.h
iwl-commands.h
iwl-core.c
iwl-core.h
iwl-csr.h
iwl-debug.h
iwl-debugfs.c
iwl-dev.h
iwl-eeprom.c
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h
iwl-io.h
iwl-led.c
iwl-led.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rfkill.c
iwl-rfkill.h
iwl-rx.c
iwl-scan.c
iwl-spectrum.c
iwl-spectrum.h
iwl-sta.c
iwl-sta.h
iwl-tx.c
Kconfig
Makefile