Move fw version check into a function

This will make code more readable.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Remove redundant else statement

In this way all functions looks the same where first
we check for invalid parameters and then implement logic.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Remove logging from memory barriers

Memory barriers must be handled right after memory access.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Remove redundant comments

Comments are not needed in those places.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Return error from feature_caps_exchange_rsp

In case status returns error wcn36xx_smd_feature_caps_exchange_rsp
will return -EIO.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Changed RSSI0 macros to inline function

This will add type checking.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Merge pull request #100 from KrasnikovEugene/fix_review

Fix review