Skip to content
Commit e2bc7c5f authored by Chen, Chien-Chia's avatar Chen, Chien-Chia Committed by John W. Linville
Browse files

rt2x00: Fix rfkill_polling register function.



  Move rt2x00rfkill_register(rt2x00dev) to rt2x00lib_probe_dev
  function. It fixes of starting rfkill_poll function at the
  right time if sets hard rfkill block and reboot. rt2x00mac_rfkill_poll
  should be starting before bringing up the wireless interface.

Signed-off-by: default avatarChen, Chien-Chia <machen@suse.com>
Acked-by: default avatarHelmut Schaa <helmut.schaa@googlemail.com>
CC: Kevin Chou <kevin.chou@mediatek.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 58f743ee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment