Ap

With these patches in AP mode upper layer will get
notification when sta left.
Also fix all checkpatch.pl warnings.