]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix netdev rename
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 12 Feb 2010 09:45:05 +0000 (10:45 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Feb 2010 21:12:52 +0000 (16:12 -0500)
commit7d33c9046b30bed2c2b97e2bdd6687d3dc56d313
treece12947c600cc0e6de2cf0cab57cb518b09b907c
parent4bd331c7fc1124dec00209f62d9888347f215420
mac80211: fix netdev rename

Fix a copy bug introduced by

    commit e4c233de7611c0cb4d37e47a1cda0df8fc77cb4e
    Author: Johannes Berg <johannes@sipsolutions.net>
    Date:   Wed Nov 25 17:46:19 2009 +0100

        mac80211: reduce reliance on netdev

This manifested itself only in debug messages
and in the debugfs rename failure that would
always happen due to trying to rename the dir
over itself.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Tested-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c