OSDN Git Service

cfg80211: add missing constraint for user-supplied VHT mask
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Fri, 19 Oct 2018 15:40:13 +0000 (15:40 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Nov 2018 07:55:32 +0000 (08:55 +0100)
commit81c5dce2cd0bb0ecb61b6212410da5eb78cd8f79
tree90b28242c0b9b0d01265a8c7c30cb579cabe1b0d
parenta1881c9b8a1edef0a5ae1d5c1b61406fe3402114
cfg80211: add missing constraint for user-supplied VHT mask

Do a logical vht_capa &= vht_capa_mask of user-supplied VHT mask with
the driver-supplied mask of modifiable VHT capabilities.
Fix whitespaces and comment typos.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/mlme.c
net/wireless/sme.c