cfg80211: set initial monitor channel
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 29 Jun 2012 10:47:05 +0000 (12:47 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 29 Jun 2012 11:39:18 +0000 (13:39 +0200)
commita69b40a95b121c4bfc52a20cccd28708ae550af1
tree372d59aee76bdd212d3d4618f4c2342604c8d128
parentb78e8ceac23655e1e06b30aa95ab11742d1ac7c0
cfg80211: set initial monitor channel

Implements behaviour seen in mac80211. A running
monitor always has a channel - even before
.set_channel. This way we won't break current
behaviour.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c