From: Johannes Berg Date: Mon, 26 Mar 2012 16:47:18 +0000 (+0200) Subject: mac80211: don't always advertise remain-on-channel X-Git-Tag: v3.5-rc1~109^2~487^2^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81ddbb5c1188dfaa98c67832a751117fcacda75d;p=pandora-kernel.git mac80211: don't always advertise remain-on-channel Not all devices are really capable of implementing remain-on-channel, even if it is implemented in SW, as they can't necessarily deal with channel changes while associated. Remove the WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL and add it only if either the driver has remain_on_channel implemented in the driver/device. Also add it to all drivers that advertise P2P right now since those definitely have to have it working. Signed-off-by: Johannes Berg Acked-by: Luciano Coelho Signed-off-by: John W. Linville --- Reading git-diff-tree failed