mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
cfg80211: convert bools into flags
We've accumulated a number of options for wiphys which make more sense as flags as we keep adding more. Convert the existing ones. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
9bd568a50c
commit
5be83de54c
11 changed files with 70 additions and 67 deletions
|
|
@ -328,7 +328,7 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len,
|
|||
if (!wiphy)
|
||||
return NULL;
|
||||
|
||||
wiphy->netnsok = true;
|
||||
wiphy->flags |= WIPHY_FLAG_NETNS_OK;
|
||||
wiphy->privid = mac80211_wiphy_privid;
|
||||
|
||||
/* Yes, putting cfg80211_bss into ieee80211_bss is a hack */
|
||||
|
|
|
|||
Loading…
Reference in a new issue