]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211/mac80211: re-add get_channel operation
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 Jul 2012 17:45:08 +0000 (19:45 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Jul 2012 14:16:11 +0000 (16:16 +0200)
commit3f211c406ece5447b73c05a0f07830dde664fa4e
treee87b3f28cdfe513de4f3527fabaaacca63eedc24
parentb3f542f4084c5d4c20294386b81688b7d0b3a666
cfg80211/mac80211: re-add get_channel operation

This essentially reverts commit 064170d5cacf but
introduces the get_channel operation with a new
wireless_dev argument so that you can retrieve
the channel per interface. This is necessary as
even though we can track all interface channels
(except monitor) we can't track the channel type
used.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c
net/wireless/wext-compat.c