commit | c8abbe79cce67f201bbbe8ce797476fdc96a80f4 | [log] [tgz] |
---|---|---|
author | Ping-Ke Shih <pkshih@realtek.com> | Wed Jan 17 14:15:22 2018 +0800 |
committer | Kalle Valo <kvalo@codeaurora.org> | Wed Jan 17 17:09:10 2018 +0200 |
tree | 620d0e1105b79e205f298e2cb9106ce0949838af | |
parent | a3fa3669d18c959c265eda2048b998c0062a61ce [diff] |
rtlwifi: fix scan channel 1 fail after IPS If there is no connection, driver will enter IPS state. Meanwhile, it fails to scan channel 1 by the command 'iw dev wlan0 scan freq 2412', because hardware channel setting lose after IPS. Thus, restore channel setting from hw->conf.channel set by last rtl_op_config(). Signed-off-by: Tim Lee <timlee@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>