[PATCH v3 10/33] staging: rtl8192e: Simplify rtllib_proces_probe_response()

2015-05-09 Thread Mateusz Kulikowski
- Extract frame_ctl once and use it as variable. - Drop endian conversion in is_beacon() function (used in simplified function only) - Simplify debug messages - Invert STYPE checks in debug messages - it is valid as only BEACON and PROBE_RESP are allowed Signed-off-by: Mateusz Kulikowski ---

[PATCH v3 10/33] staging: rtl8192e: Simplify rtllib_proces_probe_response()

2015-05-09 Thread Mateusz Kulikowski
- Extract frame_ctl once and use it as variable. - Drop endian conversion in is_beacon() function (used in simplified function only) - Simplify debug messages - Invert STYPE checks in debug messages - it is valid as only BEACON and PROBE_RESP are allowed Signed-off-by: Mateusz Kulikowski