On Thu, 2009-07-16 at 09:30 -0700, Luis R. Rodriguez wrote: > On Thu, Jul 16, 2009 at 2:08 AM, Helmut > Schaa<helmut.schaa@xxxxxxxxxxxxxx> wrote: > > Use a bitfield to store the current scan mode instead of two boolean > > variables {sw,hw}_scanning. This patch does not introduce functional > > changes. > > > > > +enum mac80211_scan_flag { > > + SCAN_SW_SCANNING = 1, > > + SCAN_HW_SCANNING = 2, > > +}; > > + > > But why is that needed? The commit log doesn't state that. We won't > use both at the same time. You're nitpicking ;) We currently have two variables, and this just changes them into two bits instead, so he can extend the sw-scanning case with another bit :) johannes
Attachment:
signature.asc
Description: This is a digitally signed message part