aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_edimax_rg21s.dts
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2019-11-16 16:29:45 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-11-16 17:16:25 +0100
commitccf2aa9d4bf6b79669fc7121fa3bfe4c1e2b05c3 (patch)
tree8346b9f55869ad0bc34d4d7698be184cefc54ac0 /target/linux/ramips/dts/mt7621_edimax_rg21s.dts
parent50d6e92619545d014639c68ea327cf7c6dd38695 (diff)
downloadupstream-ccf2aa9d4bf6b79669fc7121fa3bfe4c1e2b05c3.tar.gz
upstream-ccf2aa9d4bf6b79669fc7121fa3bfe4c1e2b05c3.tar.bz2
upstream-ccf2aa9d4bf6b79669fc7121fa3bfe4c1e2b05c3.zip
mac80211: detect existing interface before adding
Keep existing wdev when creating new nl80211 interfaces if phy and type match, delete it otherwise. To make this work, also remove left-over debugging function which prevented the return-value of the 'iw' command to be taken into account in mac80211_iw_interface_add(). As 4addr-mode (WDS) was setup during interface creation for station interfaces, also set it after interface creation to make sure an existing sta interface ends up with the right mode. Fixes: a5bc9787d4 ("mac80211: add support for dynamically reconfiguring wifi") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_edimax_rg21s.dts')
0 files changed, 0 insertions, 0 deletions