cfg80211: accept no-op interface mode changes
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 21 Mar 2009 16:07:59 +0000 (17:07 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:08 +0000 (20:13 -0400)
commitac7f9cfa2c3b810e0adfb889ad407a8c79a84dbe
tree599a601a2adc5e3806a4bb665491dd08fe2eb3ff
parent86f04680df4a136a4a90501572dc2f31f8426581
cfg80211: accept no-op interface mode changes

When somebody tries to set the interface mode to the existing
mode, don't ask the driver but silently accept the setting.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c
net/wireless/wext-compat.c