From: Johannes Berg Date: Fri, 12 Oct 2012 08:55:53 +0000 (+0200) Subject: wireless: use OR operation to set wiphy features X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~17^2^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b292219fa5061e2657ecf518b48426913d0ddae6;p=pandora-kernel.git wireless: use OR operation to set wiphy features The next patch will introduce a flag that is set by default in cfg80211 so drivers and mac80211 need to use |= to set features they have so that they don't clear the already-set feature. We could set the flag in wiphy_register() instead of wiphy_new() to avoid this patch, but then the drivers couldn't *unset* flags they don't want to use even though the implementation is generic. Signed-off-by: Johannes Berg --- Reading git-diff-tree failed