Re: [PATCH 2/2] mac80211: use accessor functions to set sta->_flags

2017-01-25 Thread Johannes Berg
On Wed, 2017-01-25 at 09:55 +0100, Amadeusz Slawinski wrote: > And yes I did. Somehow managed to ignore those warnings though, sorry > about that. :) That was intentional so nobody changing mac80211 in the future will accidentally play with those flags through the normal accessors. > Rechecked wi

Re: [PATCH 2/2] mac80211: use accessor functions to set sta->_flags

2017-01-25 Thread Amadeusz Slawinski
And yes I did. Somehow managed to ignore those warnings though, sorry about that. Rechecked with just first patch and it should still be good. Please ignore this one ;) On 24 January 2017 at 16:44, Johannes Berg wrote: > On Tue, 2017-01-24 at 16:42 +0100, Amadeusz Sławiński wrote: >> cleanup patc

Re: [PATCH 2/2] mac80211: use accessor functions to set sta->_flags

2017-01-24 Thread Johannes Berg
On Tue, 2017-01-24 at 16:42 +0100, Amadeusz Sławiński wrote: > cleanup patch to make use of set_sta_flag()/clear_sta_flag() in > places > where we access sta->_flags > > Signed-off-by: Amadeusz Sławiński > --- >  net/mac80211/sta_info.c | 12 ++-- >  1 file changed, 6 insertions(+), 6 dele

[PATCH 2/2] mac80211: use accessor functions to set sta->_flags

2017-01-24 Thread Amadeusz Sławiński
cleanup patch to make use of set_sta_flag()/clear_sta_flag() in places where we access sta->_flags Signed-off-by: Amadeusz Sławiński --- net/mac80211/sta_info.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c inde