ath79: qca955x: add wmac migration hotplug event
authorTomasz Maciej Nowak <tomek_n@o2.pl>
Wed, 13 Mar 2019 16:44:22 +0000 (17:44 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Mon, 18 Mar 2019 19:42:29 +0000 (20:42 +0100)
commit9fd2a3faa5c90975670f99ec0c06a682807d7fe9
tree2dfb942cb988b4e08daa03ab52f9ef6738775547
parent50674ccadee3edd07c8f8501907d207df3767a4e
ath79: qca955x: add wmac migration hotplug event

When upgrading from ar71xx target images to ath79 based ones, the
integrated wireless interface changes its sysfs path. Therefore the
previous enabled wireless interface will be disabled, which can cause
false complains about it not working. This commit adds hotplug event
which migrates to new path and will keep the wrireless interface
enabled after upgrade.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wmac-migration [new file with mode: 0644]