Merge flush_signals_thread() and thread_enter() into the one place calling them

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove some unnecessary wrappers around netif_*() functions

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove some unused typedefs

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Make rtw_{join,create}bss_cmd_callback more readable

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Make rtw_drvextra_cmd_hdl() more readable

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Clean up wlan_bssid_ex a little

Don't use u8 Reserved[2] - this is prone to overrunning the array, and
it is all set in software by the driver as far as I can see, so it
doesn't need to match a firmware structure.

Also use ETH_ALEN instead of '6'.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove a number of unused variables

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove long defunct proc debug code

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove two unused #defines

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove calls to dummy os resource init/free functions.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
de-spaghettify usb_halinif.c a little

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove a bunch of unused hal functions

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Make the code readable

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>