Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffd074fc authored by Holger Schurig's avatar Holger Schurig Committed by David S. Miller
Browse files

libertas: implement new scanning logic



This changes the code that is used for scanning and makes it hopefully
easier to understand:

* move function into logical blocks
* create a bunch of lbs_scan_add_XXXX_tlv() functions, that
  help to create the TLV parameter of CMD_802_11_SCAN
* all of them are now called from the much simpler lbs_do_scan()
* no **puserscancfg double-pointers :-)

Signed-off-by: default avatarHolger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 83eacf23
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -366,9 +366,8 @@ struct lbs_adapter {
	struct cmd_ds_802_11_get_log logmsg;

	u32 monitormode;
	int last_scanned_channel;
	u8 fw_ready;

	u8 last_scanned_channel;
};

#endif
+360 −511

File changed.

Preview size limit exceeded, changes collapsed.